Hi,
After searching this forum for a 7 day rolling solution i found that the code in this thread was exactly what i needed.
All i need is help changing it so that it returns the 7 days including the record that the result is shown on, not the previous 7 records. Like this:
DATE APPLES ROLLING 7 DAYS
20080101 1 1
20080102 2 3
20080103 3 6
20080104 4 10
20080105 5 15
20080106 6 21
20080107 7 28
20080108 8 35
20080109 9 42
20080110 10 49
THanks
After searching this forum for a 7 day rolling solution i found that the code in this thread was exactly what i needed.
All i need is help changing it so that it returns the 7 days including the record that the result is shown on, not the previous 7 records. Like this:
DATE APPLES ROLLING 7 DAYS
20080101 1 1
20080102 2 3
20080103 3 6
20080104 4 10
20080105 5 15
20080106 6 21
20080107 7 28
20080108 8 35
20080109 9 42
20080110 10 49
THanks