"Merge" two existing reports with an existing "master" report


Hi All,

If possible, I would like to "merge" two existing reports with an existing "master" report to create a single .jrxml file.  Forum searches yielded threads related to subreports, but the available step-by-step guides involved creating either a new subreport or a new master report.  I am very new to Jaspersoft Studio with no previous programming experience, and as such, step-by-step instructions would be greatly appreciated.


g0tteddy's picture
Joined: Mar 23 2015 - 10:57am
Last seen: 4 years 3 months ago

2 Answers:


Subreport won't create 1 jrxml file. Subreport allows 1 report (main report) to include other jrxml files (subreports).

Unfortunately, there is no feature to merge 2 jrxml into 1 jrxml file.

hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 year 3 weeks ago

First of all you should understand the concept of subreports and main report.
A main report calls other subreports into it.

Steps you should follow are as follows;
1)  Consider your reports to be merged (considering you are merging two reports, lets take the count as 2) as two different subreports. If the two reports are running individually (on same datasource), then you need not perform any changes on them.
2) Create a new main report and call two sub report components from the pallete giving the path of the two reports to be merged. For proper steps, please refer the guide. 

Hope this helps,

kkriplani's picture
Joined: Sep 4 2015 - 2:18am
Last seen: 5 months 1 week ago