SSRS Divide by Zero fix

=iif(Sum(Fields!QtyCost.Value) = 0,0,Sum(Fields!ActualCost.Value) ) /
iif(Sum(Fields!QtyCost.Value) = 0,1,Sum(Fields!QtyCost.Value))

RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences