SSRS 2005

  • i have written this code,

    =iif(Parameters!Number_Format.Value=1,

    (iif(IsNothing(sum(Fields!sum_of_iss.Value))=True,"N.A.",(iif(Parameters!District_Code.Value="All Districts",Format(sum(Fields!sum_of_iss.Value)/10,"F2"),Format((sum(Fields!sum_of_iss.Value)/10)/2,"F2"))))),

    (iif(IsNothing(sum(Fields!sum_of_iss.Value))=True,"N.A.",(iif(Parameters!District_Code.Value="All Districts",Format(sum(Fields!sum_of_iss.Value)/10,"F6"),Format((sum(Fields!sum_of_iss.Value)/10)/2,"F6")))))

    )

    but it generates error (#ERROR) in the cell after viewing the report while the same code run in another cell for different field,but when we find total of those field it generates #ERROR.

    Please send me the valuable solution.THANKS

  • What is the error?

  • The error is #ERROR.This #ERROR is printed on textbox after viewing the report.Actually there is no error to run the report.After running the report ,the result in the total column is as #ERROR.

  • Open the output window. The real error will be there.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply