Solved

Calculated Field in Matrix report SSRS 2005

Posted on 2013-06-22
1
787 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
[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
1 Comment
 
LVL 66

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Written by Valentino Vranken. Introduction: The first step of creating a SQL Server Reporting Services (SSRS) report involves setting up a connection to the data source and programming a dataset to retrieve data from that data source.  The data…
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.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

688 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