Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SSRS 2005 Roll Up Average in Report

Posted on 2012-04-02
3
Medium Priority
?
1,250 Views
Last Modified: 2012-04-08
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?
0
Comment
Question by:edrz01
  • 2
3 Comments
 

Accepted Solution

by:
edrz01 earned 0 total points
ID: 37803088
No, but thanks.

I found a work around by creating additonal subreports that summarized the data and put them on the overall report. Not the way I wanted but I was against a time crunch.
0
 

Author Closing Comment

by:edrz01
ID: 37820896
Not a valid solution
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Steps to solve SSRS SQL 2008 R2 User Access Control (UAC) Permission Error With the introduction of SQL Server 2008 R2 and Vista (Windows 7 as well) came new enhanced security features. One of the features included was User Access Control (UAC) t…
Introduction Earlier I wrote an article about the new lookup functions (http://www.experts-exchange.com/A_3433.html) that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month11 days, 21 hours left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question