Forum Discussion
Do you have a clean way to add 1.1 conditionally through another field/IF logic? The syntax is pretty easy - something like:
[Other Savings Field 2.1]+[Other Savings Field 2.2]+[Other Savings Field 2.3] +
If( condition goes here, [Other Savings Field 1.1], 0)
So lets say you had a checkbox to 'Include 1.1' - then you would have it like:
[Other Savings Field 2.1]+[Other Savings Field 2.2]+[Other Savings Field 2.3] +
If( [Include 1.1], [Other Savings Field 1.1], 0)
In the above it will return 0 if you don't want to include it.
------------------------------
Chayce Duncan
------------------------------
I am getting an error on the calculation stating expecting text but found a number. Any suggestions on how to fix this?
------------------------------
Kari Lang
------------------------------
- ChayceDuncan11 months agoQrew Captain
Can you confirm if the field [Other Savings Field 1] is a numeric field? It looks like in the scope of the if() statement that it's interpreting that field as text, so if that field type is text then wrap it in a ToNumber field like:
[FTE Reduction Savings2]+[Rework. Final Amount]+[Medical Cost Savings1] + [Automation Savings.1] + if( [Include in Total calculation1], ToNumber([Other Savings Field 1]), 0)
------------------------------
Chayce Duncan
------------------------------