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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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