ssrs 2008 - Avoid subreports in SQL Server Reporting Services by combining datasets to enhance performance -


I have an independent form report which is basically an overview of a company report.

The report looks like this:

  ------------ Company XYZ ------------ - Address - Telephone - .. ** Contact * * - Brian - Caroline - Patrick ** Complaints ** - Complaint 1 - Complaint 2  

This report brings together many company records Need to be able to run, resulting in a good print-out per company I have currently solved using a main report in which I have the choice of the main company Do not:

  Select company from company  

This main report is a table with a subreport in it. I provide the company as a subforport parameter.

In the sub-report, then I define different datasets (such as contact, complaint, ...) as follows.

  • Contact: Contact contact, name by name where companyid = @companyid
  • Order: Selection of Revenue by Order Please note that these datasets are not related to each other. , They are only related to the company

    However after running this report for many companies, it results in a terrible performance (I have 7 datasets in subreport, and if 50 reports are available for I The result is (7 + 1) * 50 queries.

    My question is, is it possible to eliminate the necessity of a subportport? I was trying to create a dataset which That's basically a combination of datasets which uses unions and adds each dataset as a new set of main query columns, although I think the use of lists with nested tables

    Is Cached Datasets Possible Solutions? If so, of course, as I can not find this ...

    thanks a lot!


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -