Zuzana Vranova
11/27/2024, 10:46 AMSELECT (SELECT {metric/payments}) / (SELECT {metric/payments} BY {label/CREATED_AT.week} ALL OTHER)
We have developed a granularity toggle plugin which allows users to select if they want to view charts daily, weekly or monthly. We would like to use it on this chart as well, but if users selects to display it in different granularity then weekly the above calculation is not going to be correct. Is there a better way how to calculate this metric without specifying the week attribute?Mauricio Cabezas
11/27/2024, 4:16 PMZuzana Vranova
11/27/2024, 4:30 PM# payments with result category / # payments in the week of the date
but the expectation is # payments with result category / # payments on the day
Zuzana Vranova
11/27/2024, 4:31 PMZuzana Vranova
11/28/2024, 12:40 PMMauricio Cabezas
11/28/2024, 2:42 PMMauricio Cabezas
11/28/2024, 2:46 PMZuzana Vranova
11/28/2024, 2:49 PMJakub Sterba
11/28/2024, 3:14 PMBY ALL {label/risk_category}
it will compute it for all categories together but it will still let breakdown of the metric by attribute used on X-Axis of the chartMauricio Cabezas
11/29/2024, 3:55 PMZuzana Vranova
11/30/2024, 12:15 AMMauricio Cabezas
12/02/2024, 1:09 PM