Forum Discussion

bcharlto's avatar
bcharlto
Frequent Visitor
10 years ago
Solved

Rolling Period Calculations

I am looking to add rolling 12wk timeframes to my dataset. I want to be able to look at 104 weeks of data by week and then smooth it out so that each week is an average of the previous 12wks. I have only seen posts tied to calculations based on the most recent week. I am not looking to calculate L12wk sales. Are there any suggestions?

 

Once I grasp this, I'm also looking to calculate a rolling 12wk Max Price over 104wks of sales...

 

I am working with retail POS data that is weekly store level, product level.

 

I'm not sure it can be done...