Hello,
In my SRS report, I have a field called "Alternate" where I need to check to find out if my picklist value = 2. This works out just great.
I have created a variable called "Total_Alternate". I don't seem to be able to get the right Grand Total here by using the code below
(1) Value in expression field for textbox9 - gives right total in this field for each group
=SUM(IIF(Fields!new_rpcstatus.value=2, CInt(Fields!Total_Alternate.value), 0))
(2) Value in Table Footer for the above field - doesn't give me the right number
=(Fields!Total_Alternate.Value)
What am I doing wrong?
If you want
number then
=Count(Fields!Total_Alternate.Value)
or if you want sum of these then
=Sum(Fields!Total_Alternate.Value)
sql
No comments:
Post a Comment