Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Can you use a formula for the query name in a subreport?

$
0
0
Hi,

I'm trying to conditionally use one query or another in a subreport. So I tried a formula on the query name of the subreport

=IF(condition;QUERY_1;QUERY_2)

This seems to work for query_1 but not query_2. Should this be possible? I suspect perhaps because query_1 is selected in the subreport thats why query_1 is working. query_2 just says "no data".

Thanks,
Dan

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>