Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SSRS 2008 R2. Print Reports In sequential order Expand / Collapse
Author
Message
Posted Thursday, September 26, 2013 8:56 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, March 11, 2014 5:05 AM
Points: 21, Visits: 100
Hi All,

I have 2 reports with following layout

Sales Report

Agent1

State..........................sales amount-----------------Number of items.......................Average Sales
VA................................$25000.....................................10.........................................$250.......
CA................................$35000.....................................10.........................................$350.......

Agent 2

MN................................$15000.....................................10.........................................$150.......



Performance Report

Agent1

Date..........................Number of calls-----------------Total time spent
01/01/2013.....................45..........................................450
02/01/2013.....................85..........................................850

Agent2

01/01/2013.....................10..........................................200
02/01/2013.....................50..........................................600

Now i need a third report which will combine both the reports and lets users print reports sequentially for each Agent as following

Combined Report

Agent 1

Sales Report

State..........................sales amount-----------------Number of items.......................Average Sales
VA................................$25000.....................................10.........................................$250.......
CA................................$35000.....................................10.........................................$350.......

Performance Report


Date..........................Number of calls-----------------Total time spent
01/01/2013.....................45..........................................450
02/01/2013.....................85..........................................850

Agent 2

Sales Report

State..........................sales amount-----------------Number of items.......................Average Sales
MN................................$15000.....................................10.........................................$150.......

Performance Report

Date..........................Number of calls-----------------Total time spent
01/01/2013.....................10..........................................200
02/01/2013.....................50..........................................600


And part of the problem is i have to use existing RDLs only. i can not rewrite the logic as i have a series of reports(10-15) that i need to add to the requirement. any kind of help is appreciated. Thank you in advance.
Post #1498899
Posted Friday, September 27, 2013 12:35 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 5:20 AM
Points: 12,196, Visits: 9,145
Seems to me you need to play around with subreports and passing parameters to these subreports so that you only get information for one agent.



How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1499208
Posted Friday, September 27, 2013 8:40 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, March 11, 2014 5:05 AM
Points: 21, Visits: 100
Koen,

Thanks for your interest.

I tried the sub report with Agent Parameter approach and it worked for one Agent at a time. But when i pass multiple Agents then sub report 1 shows all the agents followed by 2nd sub report which does the same.

my intention is to display both the reports for agent 1 and then for agent 2 in sequential order. (as displayed in my original post.)
Post #1499431
Posted Sunday, September 29, 2013 1:23 PM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 5:20 AM
Points: 12,196, Visits: 9,145
I'm not 100% sure thas can be done easily in SSRS itself.
Might be possible with some .NET though.




How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?

Member of LinkedIn. My blog at LessThanDot.

MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1499765
Posted Sunday, September 29, 2013 11:44 PM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Today @ 4:39 AM
Points: 1,042, Visits: 1,829
You can create two tablix regions in the report body with distinct data sets and group the report datasets by Agent Name.

Regards/Raunak
Now a member of Linkedin

Please visit the all new Performance Point Forum
Please visit the all new Data Mining and Business Analytics Forum
Post #1499838
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse