This section aims to describe the Report Merge feature and provide guidelines for using it.
Merge action
The merge action within Query/Compose is available from the File menu.
This triggers a familiar drawer for report selection - it is possible to select any report available in Content (My Workspace and Shared Workspaces), including the same report we are in (this will duplicate all the content within the current report as separate entities - more on the details of merge action below).
After a report is selected, the following content will be merged at the end of your current report:
Connections;
Tab groups and tabs;
Parameters;
Slides.
Any expressions on the pages from the source report will be remapped to ensure that they are still connected to the same objects (queries, parameters) rather than switched to something from the target report.
IMPORTANT: There is no “mapping” between the two reports - anything from the source report will be added to the target report, even if an analogical object (e.g., connection or parameter) already exists there.
In case an object in the source report uses a name already used by another object of the same type in the target report, the merged copy will receive additional suffix with the source report name.
See the example below:
We have a report called TARGET with:
1 connection called ABC;
1 group of tabs called GROUP1 which includes tabs called TAB1 and TAB2;
2 parameters called “Country” and “[R] Make of new car”;
2 pages, incl. one with text only and one using a parameter in the expression;
We have another report called SOURCE, which includes:
One connection named ABC;
One group of tabs called GROUP1 which includes tabs named TAB1 and OTHER_TAB;
Two parameters - “Country” and “[R] Segment of new car”;
2 pages, incl. one with text only + title with expression using tabreference and one with expression using parametervalue;
If we open the TARGET report and merge the SOURCE report, after a few seconds of processing we will get information with the summary.
As the result of this action, we have now:
2 connections, the new one has “SOURCE” suffix as it would duplicate the name otherwise;
2 tab groups - the merged GROUP1 also got the “SOURCE” suffix, note that also TAB1 in that merged group got the suffix to avoid name duplication;
4 parameters, including 2 separate “Country” (one with suffix);
4 pages.
Note that on the merged pages the expressions are now referencing “new” query and parameter instances.