Hi,
I want to group by a report item, but that's not allowed. So I tried creating a parameter...not allowed as well. Tried referencing from footer...failed again.
This is somewhat complicated. Let me explain:
I have textbox22, it's value is: =Code.Calc_Factor(Fields!xx.Value, fields!yy.Value...) This is embedded VB code in the report that's called for each row to calculate a standard factor.
Now to calculate the deviation from the standard factor, I use textbox89, whose value is: =(Fields!FACTOR.Value - ReportItems!textbox22.Value)/ReportItems!textbox22.Value
Don't get confused between Fields!FACTOR.Value and textbox22.Value, they are different. Fields!FACTOR.Value is the factor used, textbox22.Value is what it should be (standard factor).
Now I want to create a group which splits deviations into 2 groups, > 1% or not. So I tried creating a group: =IIF(ReportItems!textbox89.Value > 1,0,1) ...But then SSRS complains about using report items.
I have run into a similar problem of using report items in the past, but this is a new case!!
Any help greatly appreciated.
Thanks!!!!