0

We have an RDLC report that needs to perform a calculation based on two values but before we do the calculation we want to check that the divisor is NOT zero. This is our expression:

=IIF(Fields!FundCatTotal.Value > 0, (ReportItems!tbfChangeAmt.Value/Fields!FundCatTotal.Value) * 100, 0)

The "True" part of the expression works fine. Its the "False" part that is giving us an issue. If the Fields!FundCatTotal.Value is not greater than zero the expression generates an #Error in the RDLC report. We are stumped as to why it would do that. The expression is a rather simple one but perhaps we are missing something.

Any ideas?

0 Answers0