passing main results of query as a parameters to dataset

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email with questions or issues requiring TIBCO review or response.


i need to use the result of the main report as a parameters in the query of the sub reprot or of the dataset,so how we can pass the fields result of the main report as parameters to the dataset? please.

thanks in advanced.

mithal.tirani's picture
Joined: Jun 26 2014 - 12:30am
Last seen: 7 years 6 months ago

1 Answer:

Right click on subreport in main report and edit datasource. In the parameters tab click add. In the dataset parameter name select your paramenter from the subreport query. Then under value expression select the parameter for the main report. 

joel.carlson's picture
Joined: Jul 23 2015 - 4:39pm
Last seen: 1 year 2 months ago