Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
echildm
Contributor II
Contributor II

Cumulative sum of 12 mobile months

Esteemed, I am trying to calculate by script the accumulated Consumer Price Index, this is 12 moving months, For example, for August 2023 it is necessary adds from August to December 2022 plus from January to July 2023, this indicator is monthly. I am looking for a function that adds 12 mobile months as mentioned in the example.


The data looks like this:

echildm_0-1692722867341.png

Where the CPI value is on the first day of each month.

Thanks in advance.

 

Labels (1)
0 Replies