in my case, i do all my calculations in the SQL, instead of in the report....
so my SQL would have one more field, that has this for the calculation:
(A_Rev_TY/B_Rev_TY) / (A_Rev_LY/B_Rev_LY)-1.
CASE
WHEN ISNULL(B_Rev_TY,0.0) = 0
THEN 0 --no need to calc the second part of the equation...zero divided by anything is still zero
ELSE
--another, inner case:
CASE
WHEN ISNULL(B_Rev_LY,0.0) = 0
THEN 0
ELSE (A_Rev_TY/B_Rev_TY) / (A_Rev_LY/B_Rev_LY)
END
END
Lowell