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.
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
--another, inner case:
WHEN ISNULL(B_Rev_LY,0.0) = 0
ELSE (A_Rev_TY/B_Rev_TY) / (A_Rev_LY/B_Rev_LY)
--help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!