I would like to know whether there is a posibility to reduce the DB load produced by SSRS reports. I have a SSRS report consisting of several sub-reports. Every one of them has at least one DB query.
- Many of them query the same data since the most sub-reports have a kind of template header filled with dynamic data.
- Some sub-reports are shown depending on whether a query returns any data. So once the data is queried to determine whether to show the report at all. Then the report itself queries the same data to show it in a table
In general I can tell that I need a mechanism to pass queried DB data from parent report to a sub-report. The parent report will query some data, it will iterate over the data sets and for every data set it will show a sub-report passing the current data set as a parameter.
I could not find a mechanism to pass the data set (data row). That's why I show the sub-report by passing a kind of data set ID. The sub-report itself queries the same data again, filters by the passed data set ID and shows only the relevant data set. This causes huge load on the DB.
Thank you in advance!