Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
GraceGao
Creator
Creator

Rolling 12 month calculation

Hi Experts,

i would like to calculate KPI as below. first row is rolling 12 months, and for 3 KPI , CY sales and LY sales,and %.

can anybody help? Thanks.

GraceGao_0-1606295234884.png

 

2 Replies
GraceGao
Creator
Creator
Author

Thanks Chanty4u

i have tried before for the set analysis expression. the current sales is ok. however, when i would like to show last year's sales, data will be appeared in the last year's year month. eg. i would like to show ly for same period 202010, the ly data show in 201910 column and the cy vs ly % also have the same problem. 

i have tried set key field one by one, however, the KPI for rolling 12 months is up to 300. 

Please advise and help.