reporting services - Attempted to divide by zero in SSRS Chart -
this pie chart report. have searched still cannot resolve issue message:
warning 1 [rsruntimeerrorinexpression] visible expression chart contains error: attempted divide 0 the single field summation in pie chart checked against 0 (isnull(val,0)) in sql , therefore referenced in "value field" of pie chart "sum(val)".
(isnull(val,0)) set null value 0. haven't seen expression that's causing error, if you're using value divisor, may causing error.
again, don't know expression is, might able avoid error (if divisor 0, won't try dividing it):
iif(divisor > 0, dividend / divisor, 0)
Comments
Post a Comment