I need to add an InfoPath formula such as the following:
if(Unit = "Percent"){
Numerator / Denominator *100}
Else{Numerator}
I know the formating something like (TrueResult | ElseResult) [(BoolCondition) + 1]
Converted: ((Numerator / Denominator * 100) | Numerator ) [(KD-N_Unit = "Percentage") + 1]
but i get the error below:
The expression is not a node-set. (-->(../my:Numerator div ../my:Denominator * 100) <--| ../my:Numerator ) [(../my:KD_x002d_N_Unit = "Percentage")