I am trying to use an if statement to do a calculation but it is not working. Please can someone help with how it should be done?
For example: is a calculation Z1=P1+P2+P3
X1 is optional: yes or no
**${if(X1)=yes, 0%Z1 and if(X1)=no, 67%Z1}
The above if statement is what I want to achieve but it is not working.