edrz01
asked on
SSRS 2005 Roll Up Average in Report
I have a report that currently lists data like:
DEPT % <--Row
-------------------------
Supply 18.00 % <--Group
Marketing 12.01%
Sales 5.03%
...
--------------------------
I need to be able to provide a rollup of the percentages. So in this example it would report back 11.68%
The issue is that the '%' column expression is
=round(sum(iif(Fields!MTR. Value = "False", 1, 0))/Count(Fields!MTR.Value ),2)
So what I am 'trying' to do is something like
=AVG(round(sum(iif(Fields! MTR.Value = "False", 1, 0))/Count(Fields!MTR.Value ),2))
but I get an error about
'The value expression for the textbox 'textbox71' contains an aggregate function (or RunningValue or RowNumber functions) in the argument to another aggregate function (or RunningValue). Aggregate functions cannot be nested inside other aggreagte functions.
Ideas for a work-around?
DEPT % <--Row
-------------------------
Supply 18.00 % <--Group
Marketing 12.01%
Sales 5.03%
...
--------------------------
I need to be able to provide a rollup of the percentages. So in this example it would report back 11.68%
The issue is that the '%' column expression is
=round(sum(iif(Fields!MTR.
So what I am 'trying' to do is something like
=AVG(round(sum(iif(Fields!
but I get an error about
'The value expression for the textbox 'textbox71' contains an aggregate function (or RunningValue or RowNumber functions) in the argument to another aggregate function (or RunningValue). Aggregate functions cannot be nested inside other aggreagte functions.
Ideas for a work-around?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Not a valid solution
http://blogs.msdn.com/b/robertbruckner/archive/2008/07/20/using-group-variables-in-reporting-services-2008-for-custom-aggregation.aspx