AnsweredAssumed Answered

Passing main parameter to sub-dataset in Jasper report

Question asked by toiau01 Employee on Aug 17, 2015



I want to pass a parameter from the main report to a sub-dataset in a Jasper report. In Studio it works fine but in the reporting server it doesn't return any data. Here's how I've defined the parameters:


Main report and sub-dataset:


Then I've mapped the main report parameter to the sub-dataset parameter in the table dataset:


I'm using the parameter in the sub-dataset query like this:


where $P{param_project} =


What am I missing here? This works fine in the server if I use a subreport instead of a table. However, there are some bugs related to subreports which I'd like to avoid using tables.


Best regards,

Aurora Toivanen