I have below Expression which I am using in my report
=IIF((Sum(Fields!Starts.Value)-Sum(Fields!Withdrawn.Value))=0, Nothing,
(Sum(Fields!Starts.Value)-Sum(Fields!Withdrawn.Value))/(Max(Fields!Year1Starts.Value)))
When I run the report I am getting below message and appears as #Error
Warning 1 [rsRuntimeErrorInExpression]
The Value expression for the textrun ‘Textbox110.Paragraphs[0].TextRuns[0]’ contains an error:
Attempted to divide by zero.
I tried this but getting same error:
=IIF((Sum(Fields!Starts.Value) - Sum(Fields!Withdrawn.Value)) = 0, Nothing,
(Sum(Fields!Starts.Value) - Sum(Fields!Withdrawn.Value))/
IIF(Max(Fields!Year1Starts.Value)=0,1,Max(Fields!Year1Starts.Value)))
Can anybody please help?
Aruna