jfairhall Posted December 22, 2020 Share Posted December 22, 2020 I am using jasper studio 6.13.0.I have a report that is given an id, and multiple datasets are attempting to use that id to run their sql.I have defined the id as a parameter on the report, not the datasets.Each dataset has a parameter that I want to map to the report parameter.Most of what I can find googling is I should be able to define an expression on the dataset parameter pointing to the report parameter, but this does not seem to be working.For one thing, all the screenshots of how to do this have the dataset parameter with an expression, but JS Studio has the parameters with a default expression, and I can't set the default expression to $P{<report parameter id name>} Any ideas? Link to comment Share on other sites More sharing options...
rmeadows Posted April 6, 2021 Share Posted April 6, 2021 You need to map the main report parameter to each of your subdataset parameters. However, this is done under the Parameters property of the component that is using the subdataset (ie: subreport, chart, table, etc) You want the following from the properties window to map parameters (see attachments and Edit parameters button and dialog) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now