Solved

Calculated Field in Matrix report SSRS 2005

Posted on 2013-06-22
1
766 Views
Last Modified: 2013-06-22
I'm developing a report from a SP, using SSRS 2005. I'm using a matrix report to provide the base info. What I'm needing is to insert a % calculation between each time period. Here's what I'm looking for:

                        2012    % +/-    2011    % +/-    2010   % +/-     2009
Total Apps       110        ?         150          ?          130        ?         50

I have the data for each year rendering correctly. What I'm needing is the % +/-, which is based on a comparison between the current and previous year (the ?). For example, the first ? would be 110/150 * 100. Is there a way to do this?
0
Comment
Question by:popsRme
1 Comment
 
LVL 65

Accepted Solution

by:
Jim Horn earned 250 total points
ID: 39268447
afaik a matrix can have only one cell that is an aggregate (sum, count, first, etc.), not two with an expression.  

So, the only way to pull this off would be to have a cross join in the SP that is the data source for a tablix, with the headers as the first row, column names something like year_1, year_1_pct, year_2, year_2_pct, etc.

Good luck.
Jim
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Hi, I have heard from my friends that it’s not possible to create Label Printing report using SSRS. I am amazed after hearing this words not possible in SSRS. I googled lot and found that it is possible to some of people know about the Report Bui…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

707 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now