Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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