Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


how to: make a multiple chart report, each chart to show different views of the same dataset?<!--...


how to: make a multiple chart report, each chart to show different views of the same dataset?<!-- 864 --><!-- 864 -->

Author
Message
polkadot
polkadot
SSC-Addicted
SSC-Addicted (443 reputation)SSC-Addicted (443 reputation)SSC-Addicted (443 reputation)SSC-Addicted (443 reputation)SSC-Addicted (443 reputation)SSC-Addicted (443 reputation)SSC-Addicted (443 reputation)SSC-Addicted (443 reputation)

Group: General Forum Members
Points: 443 Visits: 1045
I need some guidance to what functionality (by name) in SSRS I can achieve the below.
Need a one page SSRS performance summary report for each organization we partner with. Each report must have 4 tables on it, showing *different* views of the *same* dataset.

DETAILS about the dataset
SQL dataset returns:
org_name
, division_name
, count(sent_leads)
, count(referrals)
, year
, month

DETAILS about the report
SSRS 1 page report to have 4 tables:
Table 1, to have 3 columns: Divisions, sum(Sent_Leads), sum(referrals) grouped by division for the most recent month.
Table 2, to have 13 columns. 12 to show how many sent_leads and referrals for each of the twelve months of current year that have elapsed so far, and the 13th one for labeling the sum(referrals) and sum(move-ins) under each Month header.
Table 3, to have 13 columns, just like Table 2, but to be for displaying sent_leads and referrals last year.
Table 4, just like table 2 and 3, but displaying sent_leads and referrals for 2 years ago.

Please see the attached image. Because of my computer's screen size image shows only 3 tables, but it gives the general idea.

I'm totally unable to figure out how to get each of tables 2,3,4 to display a different years worth of data, and table 1 to show only the current month's data. What is it that am I trying to achieve in SSRS terms so that I can search for it and find some good tutorials?
Attachments
multichartSSRS.png (8 views, 25.00 KB)
Jack Corbett
  Jack Corbett
SSChampion
SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)SSChampion (11K reputation)

Group: General Forum Members
Points: 11014 Visits: 14858
Since you are returning everything in one data set you need to use filters on the tablii. Here's an article on filters that should get you started.

For data region 1 you do want a table type control.
For data regions 2-4 I'd use a matrix and I'd fill out my data set so that it always contains all 12 months with either NULL or 0 in the numeric columns depending on what the business wants to see.



Jack Corbett

Applications Developer

Don't let the good be the enemy of the best. -- Paul Fleming
At best you can say that one job may be more secure than another, but total job security is an illusion. -- Rod at work

Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
How to Post Performance Problems
Crosstabs and Pivots or How to turn rows into columns Part 1
Crosstabs and Pivots or How to turn rows into columns Part 2
polkadot
polkadot
SSC-Addicted
SSC-Addicted (443 reputation)SSC-Addicted (443 reputation)SSC-Addicted (443 reputation)SSC-Addicted (443 reputation)SSC-Addicted (443 reputation)SSC-Addicted (443 reputation)SSC-Addicted (443 reputation)SSC-Addicted (443 reputation)

Group: General Forum Members
Points: 443 Visits: 1045
will read and try, thanks
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search