Solved

SSRS 2005 Roll Up Average in Report

Posted on 2012-04-02
3
1,231 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 22

Expert Comment

by:Nico Bontenbal
ID: 37800110
0
 

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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

756 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