Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Check out our latest virtual session where BARC Fellow, Doug Laney, highlighted the opportunities data monetization can offer enterprises. Watch here.
cancel
Showing results for 
Search instead for 
Did you mean: 
mariamovasheli
Contributor III
Contributor III

Rolling 3 Month

Hi, I need to calculate growth rate of sales compere last 3 month to previous 3 month.

I don't Have Date field I only have Month and year. How to calculate Certain period of month? like between last 6 and 3 month and e.t

2 Replies
YoussefBelloum
Champion
Champion

Hi,

yes it is possible to compare a set of months (previous/actual/last... etc) using Month and Year fields.

would you be able to share sample data ?

arvind_patil
Partner - Specialist III
Partner - Specialist III

Dear Mariam ,


Please use below code and convert your expression like below.


Sum({<DateField={">=$(=addmonths(max(DateField),-2))<=$(=max(DateField))"},Year=,Month=,Quarter=>}Sales)


Thanks,

Arvind Patil