Hey,
I have a dataset (attached) that I need to summarise the last 52 weeks worth of data each Monday. The data set would have one additional column with the new weeks worth of data therefore it needs to be dynamic / have a lookup function the previous week.
The weeks (columns) are represented by a lookup number, in chronological order 1,2,3,4 however are representative of actual weeks I have in a separate lookup table.
Effectively I need to each Monday run a query that both sums and counts the number of records greater than 0 from the last 52 weeks. In the case of the data attached, this would be column "891" back to column "840". If its of any help, the new weekly data will always be appended at the end of the data.
Any help would be much appreciated as I cant work this out!
Thanks!