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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Weekly Moving average

Hi Experts,

I am trying to calculate weekly moving average but not been able to get it right. I have attached the spreadhseet with my data. My requirement is,

1) Calculate weekly moving average of avg(CYCLE_LENGTH) over next 26 weeks on every Mondays(PROD_DATE). NOTE : PROD_DATE has multiple recs for the same day and multiple recs within the same week. This needs to be aggregated to weekstart MONDAY.

Below is the snapshot of the data .

Your help is highly appreciated . Kind Regards...CM






























































































































































































































































































































































































































































































































CYCLE_LENGTHITEMLOCOBS_IDPROD_DATE
135153321W21P16/2/2012
15153321W21P26/15/2012
35153321W21P36/15/2012
15153321W21P46/18/2012
15153321W21P56/18/2012
15153321W21P66/18/2012
15153321W21P76/18/2012
15153321W21P86/19/2012
15153321W21P96/19/2012
15153321W21P106/19/2012
15153321W21P116/19/2012
15153321W21P126/20/2012
25153321W21P136/20/2012
15153321W21P146/22/2012
15153321W21P156/22/2012
25153321W21P166/23/2012
35153321W21P176/25/2012
15153321W21P186/28/2012
15153321W21P196/29/2012
35153321W21P206/29/2012
15153321W21P217/2/2012
15153321W21P227/2/2012
15153321W21P237/2/2012
25153321W21P247/3/2012
15153321W21P257/5/2012
25153321W21P267/5/2012
15153321W21P277/7/2012
25153321W21P287/7/2012
15153321W21P297/9/2012
15153321W21P307/10/2012
15153321W21P317/10/2012
25153321W21P327/11/2012
15153321W21P337/13/2012
25153321W21P347/14/2012
15153321W21P357/16/2012
15153321W21P367/17/2012
15153321W21P377/18/2012
15153321W21P387/18/2012
15153321W21P397/18/2012
25153321W21P407/19/2012
25153321W21P417/21/2012
15153321W21P427/23/2012
25153321W21P437/24/2012
15153321W21P447/26/2012
25153321W21P457/26/2012
25153321W21P467/28/2012
35153321W21P477/30/2012
15153321W21P488/2/2012
115153321W21P498/3/2012
215153321W21P508/14/2012
15153321W21P519/4/2012
75153321W21P529/5/2012
15153321W21P539/12/2012
65153321W21P549/13/2012
15153321W21P559/19/2012
15153321W21P569/20/2012
85153321W21P579/20/2012
15153321W21P589/28/2012
35153321W21P599/28/2012
25153321W21P6010/1/2012
55153321W21P6110/3/2012
15153321W21P6210/8/2012
15153321W21P6310/9/2012
15153321W21P6410/10/2012
15153321W21P6510/11/2012
15153321W21P6610/11/2012
45153321W21P6710/12/2012
15153321W21P6810/16/2012
15153321W21P6910/17/2012
15153321W21P7010/18/2012
15153321W21P7110/19/2012
15153321W21P7210/19/2012
0 Replies