Hi community! I have a problem that I need your help with
I need Year to Date KPI analysis - I have created a calculated field for that using ifelse() - f.ex. if today is 12.09.2024 the values last year to that date last year (so before 12.09.2023) will be X, else will be NULL - to summarize:
01.01.2023 : 12.09.2023 → X
12.09.2023 : 31.12.2023 → NULL
01.01.2024 : now() → X
Then I am creating my KPI in the dashboard, everything looks fine until I aggregate by year (to compare YoY values) - because QS is calculating an average of last year, treating missing months values as 0 - and that’s lowering the average. Is there a way to fix that? Would be grateful for any help!
PS: By aggregating by year I mean aggregating the Trend Group with date
I don’t know if that was a problem with formula, but rather with the KPI - I wanted to have average on that value, and it treated missing data from months from now to end of the year as 0 (because they were nulls) but found a way by applying a filter to exclude nulls and not treat the nulls like 0 nevertheless thank you for your help! Much appreciated