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 echildm_0-1692722867341.png](https://community.qlik.com/t5/image/serverpage/image-id/114951i19A08BC20511D8D9/image-size/medium?v=v2&px=400)
Where the CPI value is on the first day of each month.
Thanks in advance.