Hello, I'm trying to create a dashboard and I'd like to use "TrendMetrics" in it. My problem is that the query I pass as raw SQL is reformatted as MySQL querry and Firebird won't process it. Is there any solution to use TrendMetrics even with Firebird?
Here is my SQL query:
select hf.CELKEMKC_FA as AMOUNT,
hf.DATVYS_FA as ISSUED
from HLFA hf
group by
hf.DATVYS_FA
and this is what it looks like reformatted
SELECT DATE_FORMAT(Issued,'%Y-%m-%d') AS Issued_day,
SUM(Amount) AS Amount_sum
FROM
(select hf.CELKEMKC_FA as AMOUNT,
hf.DATVYS_FA as ISSUED
from HLFA hf
group by
hf.DATVYS_FA) as t
WHERE (Issued >= '2022-03-07 00:00:00' AND Issued <= '2022-03-13 23:59:59')
GROUP BY
DATE_FORMAT(Issued,'%Y-%m-%d')