Query2Report is a simple open source business intelligence platform that allows users to build report/dashboard for business analytics or enterprise reporting
Might you please verify that a parameter can be used more than once in a query? Attached example bellow.
(select 'a) Total CDS new registered users: '||count(distinct(userid)) as users_info from users_cds where date_trunc('day',data_created) >= {date:date_from} and date_trunc('day',data_created) <= {date:date_to})
UNION
(select 'b) Total CDS active users: '||count(distinct(username)) as users_info from brokerrequest_his where date_trunc('day',receivedat) >= {date:date_from} and date_trunc('day',receivedat) <= {date:date_to});
Might you please verify that a parameter can be used more than once in a query? Attached example bellow.
(select 'a) Total CDS new registered users: '||count(distinct(userid)) as users_info from users_cds where date_trunc('day',data_created) >= {date:date_from} and date_trunc('day',data_created) <= {date:date_to}) UNION (select 'b) Total CDS active users: '||count(distinct(username)) as users_info from brokerrequest_his where date_trunc('day',receivedat) >= {date:date_from} and date_trunc('day',receivedat) <= {date:date_to});