Hi,
I'm be construct a report and this report have a parameter which must switch the query. For example:
$P!{tipo_relatorio}.equals("orcamento") ? "query_1" : "query_2"
But a have no idea as resolve this problem.
My report is a list of two distinct situation, so I need this.
Is this possible?
Thanks for anywhere help.
2 Answers:
Posted on May 29, 2014 at 1:14pm
Here is a link to a very helpful video on how to implement conditional queries:
Good Luck!
M.B.Morgan
Posted on June 4, 2014 at 5:15pm
Check in using $P!{} . Page 84 in Jaspersoft Studio documentation.
http://community.jaspersoft.com/documentation/jaspersoft-studio-user-guide