Chained Reports

Chained Reports combine multiple reports into a single multi-page document. They are a convenient way to bundle related reports into a format suitable for printing or sending to a mailing list.

For example, you could combine a report on total monthly sales over time, product sales for the month, and a report highlighting this month's top selling employee. And you could schedule it to be emailed regularly at the end of every month.

A benefit of Chained Reports is that, unless you want to use collation, they do not need to have anything in common. You could chain entirely disparate reports together without a problem.

Dashboards are also exported in the form of Chained Reports in which each report or visualization tile is displayed on a single page in the report. See Exporting Dashboards for directions on how to export a Dashboard as a Chained Report.

Creating a Chained Report

A Chained Report is basically a list of reports, and making a Chained Report is as simple as making a list.

To create a Chained Report:

  1. Click the New Report icon and select  Chained Report.

  2. On the Name tab, enter a name for the Chained Report and select a folder to save it to. It does not have to be in the same folder as the reports that it contains. Optionally add description text to the Enter a description for the report field.

     Caution
    A report name  may contain all characters except for the following:
    \ / : * ? " < > |

  3. Advance to the Reports tab, add the reports to include in the Chained Report. Supported report types are Advanced Reports, Express Reports, CrossTab Reports and ExpressViews.

    The order of the reports in the list is the order they will appear in the output. Click and drag a report or use the Move Item Up  or Move Item Down  icons to move a report up or down in the list. Click the Delete icon to remove a report from the list.

    Click the Edit Report Optionspencil icon to set options for handling prompting filters and parameters on the component reports.

  4. Advance to the Options tab to set certain report options

  5. Click Save and Close to save the report and close the wizard.

Table A — Best Practice for Report Titles when Page break after each report is unchecked

Report Title in Page Header Section

Report Title in Report Header Section

Note about export types

If one of the reports cannot export to a certain file type, then the Chained Report cannot export to that type. All of the reports must share at least one export type, or else the Chained Report will have no compatible type to run as. Supported types are PDF, RTF, CSV, and Excel (XLS).

Reports with templates

Reports with templates (forms) can be added to a Chained Report. The Chained Report must be exported to the same file type as the template. Multiple templates of the same file type can be chained together, with the exception of Microsoft Word based templates.

 Tip
Values for prompting filters and parameters cannot be set when scheduling a Chained Report. If a Chained Report is intended to be scheduled, use the Assign Value option to specify values.

Collating Reports

 Caution
Collation is recommended for advanced users as it can have potential performance implications if used incorrectly

Collation breaks up the reports in the Chained Report by a specified sort field, and then groups together the reports by each instance of the sort. Essentially, this turns a sort field into a common grouping for the reports, working in much the same way a group section would. This can allow you to use individual reports as pieces in a composite report.

Some common uses for Chained Report collation include:

Execution of Collated Reports

  1. Report 1, filtered by group 1
  2. Report 2, filtered by group 1
  3. Report 1, filtered by group 2
  4. Report 2, filtered by group 2
  5. Report 1, filtered by group 3
  6. Report 2, filtered by group 3

...and so on.

To accomplish the collation, the application will run each report for each filtered group. An un-collated chained report containing two reports will only execute those two reports. A collated chained report with the same two reports sorted on a field with 100 values will execute 200 individual reports.

The system administrator can limit the number of individual report executions. If a collated chained report requires more executions than this limit, the entire chained report will stop and display an error message like this:

Historial Employee Data was not run because it would cause 6 report executions (2 reports multiplied by 3 sort fields in the chain), which exceeds the set maximum of 4. To run this collated chained report, try reducing the number of reports or sorts in the chain.

If this error message appears, change how the report collates with the recommendations in the Best Practices section at the end of this article.

Consider the example reports below. Report 1 lists all salespeople in the company and Report 2 lists the orders placed by that salesperson.

Report 1

Report 2

firefox_x95pLXnTXw.png

x5x13cB3SQ.png

Chained Output

When this chain is run, only two reports are executed. One for each of the reports in the chain:

ZwqKfeqPeX.png

which yields a final output file that resembling the one below

iuRYEIA69H.png

When those same reports are collated, by checking the Collate reports on checkbox, and choosing Employees.LastName as the field,

Report 1

Report 2

firefox_x95pLXnTXw.png

x5x13cB3SQ.png

Chained Output

When this chain is run, since there are two reports in the chain and nine employee last names, there are eighteen reports to execute. Two for each of the nine employees:

g9pmtdwpI5.png

which yields a final output file that resembling the one below. Now, instead of showing one complete report after the other, the two reports are collated by the Employee's Last Name.

AFxIm1tqLm.png

Best Practices 

Since collating a chained report can greatly increase the number of component reports to execute, there are a few considerations to alleviate the load on the system: