Hi,
I have a report that made in report builder. I wanted to have a total of active at the top after the header. the total contains a total number of "active" . upon running the report i encountered this error. any help or idea is very much appreciated. thank you.
error:
The Value expression for the textrun Textbox20.Paragraphs[0].TextRuns[0] has a scope parameter that is not valid for an aggregate function. The scope parameter must be set to a string constant that is equal to either the name of a containing group, the name of a containing data region, or the name of a dataset.
below is the code in my expression.
=IIF(SUM(Fields!VENDACCOUNT.Value LIKE "active*",1,0), "DataSet2"))