Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
coloful_architect
Creator II
Creator II

Create MAT(moving annual total) at line chart

Hi gurus:

I have a data associated with month and calendar year.

like this 

[Calendar Year/Month]Calendar Year
Jan-182018
Feb-182018
Mar-182018
……………..2018
Dec-182018
Jan-192019
Feb-192019
Mar-192019
………………2019
Dec-192019
Jan-202020
Feb-202020
Mar-202020
………………2020
Dec-202020
Jan-202021
Feb-202021

 

we have various dashboards with time axis by month and by year.

now for the yearly line chart , rather than 2021 YTD ( as in this table  it is as of Feb 2021) I want to show 2021 moving annual total, which would be the total from Mar 20 to Feb 21. 

so the year time axis of line chart would be 2018, 2019, 2020, 2021( but actually it is 2021 Feb MAT)

is there a good way to set variable or edit at load script to achieve this without screwing up monthly data?

Much appreciation for any ideas.

 

 

0 Replies