Link to home
Start Free TrialLog in
Avatar of December2000
December2000

asked on

Divide by Zero Error in SSRS

Hi Experts,

How do I rewrite this expression to allow for divide by zero errors?


=iif( Fields!SERVICE_QTY.Value > 0 and Fields!BILLSEPARATE.Value= -1, round(Fields!TOTALNETPRICE.Value,2)/round(Fields!SERVICE_QTY.Value,2),Fields!TOTALNETPRICE.Value)

Open in new window

SOLUTION
Avatar of SThaya
SThaya
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of December2000
December2000

ASKER

Thank you!