Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Rolling Avg of 12 Months? Urgent

How to Caluculate this ?

2012: Avg(12 month rollingavg) - 2011:  Avg(12 month rollingavg)...

3 Replies
mangalsk
Creator III
Creator III

Hello

Use following expression:

Sum({<CalDate={">$(=addyears(max(CalDate),-1))<=$(=max(CalDate))"},CalYear=,CalMonth=,CalQuarter=>}Sales)

Regards

kiranmanoharrode
Creator III
Creator III

Use following expression:

Avg({<CalDate={">$(=addyears(max(CalDate),-1))<=$(=max(CalDate))"},CalYear=,CalMonth=,CalQuarter=>}Sales)

Gysbert_Wassenaar

I don't understand what you're asking. Can you show us some sample data and an example of the calculation?


talk is cheap, supply exceeds demand