Solved

Calculated Field in Matrix report SSRS 2005

Posted on 2013-06-22
1
782 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

It is helpful to note: This is a cosmetic update and is not required, but should help your reports look better for your boss.  This issue has manifested itself in SSRS version 3.0 is where I have seen this behavior in.  And this behavior is only seeā€¦
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

830 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