This formula results in an error when the first value is true, otherwise it works fine. If the budget_quanty > 0 then it works just fine. What am I missing? I am trying to calculate the percent of budget to actual. This is used as an expression in a total field.
Thanks,
Trish
=iif(Sum(Fields!BUDGET_QTY.Value) = 0, 1,
iif(Sum(Fields!ACTUAL_COSTING_QTY.Value) = 0, 0,
Sum(Fields!ACTUAL_COSTING_QTY.Value) / Sum(Fields!BUDGET_QTY.Value)))
Trish Leppa