Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

SSRS Subreport - Renders very slow

$
0
0

Hi All,

I have a subreport which is embedded in the main report (form report) which is inturn embedded in a list. The report is executed for different levels with each level having different number of records (say 100, 150, etc.) and gives us a form for each of the records on a single page. That is the report will have 150 pages for 150 records. My subreport renders very fast when it is run stand alone. Even the SPs written for the subreport are giving results within seconds. But when embedded in the main report, the whole report is rendering very slow.

I tried passing the parameters to the subreport in two different ways:

1. Assigned the main dataset's record id to the subreport which gives correct data but taking very long time to generate the report.

2. Assigned the main dataset's record id to a hidden parameter and passing that parameter to the subreport as a parameter. This way the report renders very fast but the subreport is always giving the results for the first record id. That is even for the second record, the subreport is showing up the first record's details which is incorrect.

Have been struggling with this issue for a while. Request you to help me in this regard.

Regards,

Bala.


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>