Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Annual rolling Avgerage

I know the rolling n periods topic is constantly brought up, i have read through several posts and documents. I am struggling to find a solution that will give me and Annual Average based on a rolling 36 months.

4 Replies
Not applicable
Author

try this in expression

DATE={'>=$(=AddMonths(max(DATE),-36))'}

Not applicable
Author

This is returning an error in the expression

Not applicable
Author

can you provide sample document or ur to understand well where you r applying it

SreeniJD
Specialist
Specialist

Hi Zeth

Try this,

avg({<Date={‘>=$(=MonthStart(Max(Date), -35))<=$(=Date(Max(Date)))’}>} field_name)

HTH,

Sreeni