Creating Formulas With Nested IF Statements

Use this syntax, ensuring that there are three brackets at the end of the formula:

If((mTarget(this) == 0.0), mResult(this), (mResult(this) / mTarget(this))) 

This formula determines that if the target for the measure is 0 then the score is the result value. If the target value is not 0 then the score is the result divided by the target.