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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
NeeruSaini
Contributor II
Contributor II

3 months rolling data

NeeruSaini_0-1679361670367.png

I need to display 3 months rolling data in chart. How do I do please? I did scribble on the entity names for confidentiaty.

 

Labels (1)
3 Replies
Gabbar
Specialist
Specialist

Can you please elaborate like how 3 months rolling data?
If it is  measure like Sum(Sales) or Count(Orders)
then try this :-

Rangesum(Above(sum(Sales),0,3)) or Rangesum(Above(Count(Orders),0,3)) 
while using these two also sort of Dimension Month in ascending orders.

Or you can also use modifiers given in a measure with a normal measure like Sum(Sales) or Count(Orders)

Gabbar_0-1679376953620.png

In modifier click on none and select accumulation,

Gabbar_1-1679377032546.png

Range Custom and steps 3 for rolling 3 months and so on.
And in this case also you will need to sort dimension correctly.

NeeruSaini
Contributor II
Contributor II
Author

Hi, Thanks for the reply.

It should be count of number of policies open and completed for different company entity types on x-axis and on y axis I need to display, region and under regions- Auto and home segregation.

 

I used now Rangesum(Above(Count(uwacid),0,3))  but I am not able to see modifier on th right hand side under measures. I do see data for 3 months accumulating but not showing month wise.

NeeruSaini_0-1679405492200.png

 

NeeruSaini_1-1679405651374.png

 

 

Gabbar
Specialist
Specialist

Sorry my bad, I didnt pay attention to it being a pivot table,
please try this:-

If(Columnno()<3,Rangesum(First(Count(uwacid),1,Columnno())),

Rangesum(First(Count(uwacid),Columnno()-2,3)))