I am trying to saving a report in SSRS that I converted from Crystal and I am getting the following error:
System.Web.Services.Protocols.SoapException: The Value expression for the textrun ‘DiscOrder2_DiscPerOrder.Paragraphs[0].TextRuns[0]’ contains an error: [BC30198] ')' expected.
I believe all of my parenthesis line up and I cannot find the issue, can anyone help?
=IIF ((Sum(Cdbl(Fields!GrossBkg.Value, IIF ((Fields!rmanum.Value <> 0), (Fields!rmanum.Value), IIF (( Fields!FSCallNum.Value <> 0 ), (Fields!FSCallNum.Value) , (Fields!ordernum.Value))))) <> 0), (((Sum(Cdbl(Fields!discount.Value, IIF ((Fields!rmanum.Value <> 0), (Fields!rmanum.Value), IIF (( Fields!FSCallNum.Value <> 0 ), (Fields!FSCallNum.Value) , (Fields!ordernum.Value)))))) / (Sum(Cdbl(Fields!GrossBkg.Value, IIF ((Fields!rmanum.Value <> 0), (Fields!rmanum.Value), IIF (( Fields!FSCallNum.Value <> 0 ), (Fields!FSCallNum.Value) , (Fields!ordernum.Value))))))) * 100), 0)