Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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