Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

SSRS Main Dataset data in SubReport Expand / Collapse
Posted Friday, August 29, 2014 9:16 AM


Group: General Forum Members
Last Login: Thursday, May 26, 2016 12:47 PM
Points: 19, Visits: 97

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


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



Group: General Forum Members
Last Login: Yesterday @ 7:36 AM
Points: 10,808, Visits: 14,832
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
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
Post #1608680
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse