Hi, I'm having a lot of trouble getting a calculate statement to work. I am trying to set a conditional statement for "Average Test Pressure" so that it does the following:
- If there is only one gauge, take 3 readings (0h,1h, and 2 h) and average them, multiply by 6.89476 to get kPa from psi, and round to 0 decimals
- If there are two gauges, take all 6 readings (0h,1h, and 2 h) for both the higher and lower gauge readings, average them, multiply by 6.89476 to get kPa from psi, and round to 0 decimals
However, I keep getting the error that says Invalid calculate for the bind attached to Average Test Pressure: Bad node.
I tried playing with the Esri Field Types to make them all double, and the bind type to decimal, but this does not fix my problem. I need help spotting the problem and fixing it.
I've attached the XLS form.
Any help would be great.
Thanks!