I'm surprised that works in the report footer. I didn't think you could place data there at all.
I suspect you mean it's placed outside of the data control.
In which case, the field can only refer to an aggregate, i.e. a Sum or the First or the Last value.
Because you are outside of a data control it can't know which exact row you want it because, in that scenario, the expression doesn't make sense it can't assume a total as it often will.
So, to help you I think you need to clarify a few more things.
The report footer can be turned on and off by righjt clicking outside the page area and you will have the option to turn on or off the report header and footer.
These are separated areas from the main part of the page. Is this where your text box is?
In your 2nd expression, your brackets don't match up properly.
You have IIf((Fields!CurrentIEPtype
The datasource argument is not valid for the IIf statement, I think you meant it to be on the SUM.
So exactly what are you trying to achieve with this textbox?
Main Topics
Browse All Topics





by: HadushPosted on 2009-08-07 at 14:47:40ID: 25047202
You need to use the text box name with ReportItems expression if you want to use out of the scope.
=SUM(IIF(ReportItems("Curr entIEPtype ID.").Valu e=7,1,0))
F or more information you can refer this link which have more expression on reporting services. http://msdn.microsoft.com/ en-us/libr ary/ms1573 28.aspx