I have three different queries and want to run them as per value get in jasper report.Queries are written in Jrxml file itself.How I can run different queries based on different dynamic values.
Like (It is just a sudo code)
If($(a) == "Germany")
run query 1
If($(a) == "India")
run query 2
Any help would be highly appreciated.