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 Main Dataset data in SubReport Expand / Collapse
Author
Message
Posted Friday, August 29, 2014 9:16 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, September 2, 2014 5:52 AM
Points: 19, Visits: 93
Hi

I have a SSRS report (2008 R2) in which multiple sub-reports attached. Main Report dataset is also used in the Subreport. Means Same dataset executing multiple times.

Is there any way to pass MainReport Dataset into SubReport. So that I can improve the performance of the report.

I cant use Shared Dataset, as in RDL we have expression based connection string which is not supported by Shared DataSource

--
Thanks

Jayanta Sarkar
Post #1608662
Posted Friday, August 29, 2014 9:59 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: 2 days ago @ 9:09 AM
Points: 10,342, Visits: 13,352
There's no way I know of to natively share the results of a dataset between reports. I'd question the architecture that requires sub-reports that re-use data in the main report to begin with. Why can't you accomplish the same thing with multiple data regions instead of sub reports?



Jack Corbett

Applications Developer

Don't let the good be the enemy of the best. -- Paul Fleming

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
Post #1608680
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse