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 report, multiple datasets based on same table, how to avoid deadlock? Expand / Collapse
Posted Thursday, February 20, 2014 2:37 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, January 28, 2015 4:50 PM
Points: 201, Visits: 514

I have report with 6 pages, based on the same table Monthly_Data table, just different fields/format/representation/.
I made a rdl when Dataset1 doing the main work creating that Monthly_Data table with ssrs date parameters, then Dataset1 do its selection from that table for Page1,
consequently Dataset2, 3, 4.. select data in different format from same Monthly_Data.

And it doesn't work, as I understand all Dataset1,2,3,4 calls db at the same time when Monthly_Data is not created yet and it gives me an error.

What could be the solution? how to "schedule" Dataset2 to wait till Dataset1 will be completed? I don't want to create same big main Select for monthly_table in each Dataset, it takes 30 sec to run,

Thanks for help.

ssrs alpha bravo
Post #1543740
Posted Thursday, February 20, 2014 5:43 PM


Group: General Forum Members
Last Login: Friday, March 20, 2015 9:53 AM
Points: 198, Visits: 10,122
Here is an article on dataset execution order that may trigger some ideas:
Post #1543777
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse