Here's the situation, and I'll just state ahead of time any help or guidance is greatly appreciated.
I have a query that pulls out a date and a number (FLOW for whats its worth), and I need to calculate a rolling 3 month (and 12 month, but once if figure out how to do thethree tehthe 12 should be easy) and I don't have a clue in regards to how to get it done.
for example
Date FLOW 3 MOnth
Jan 99 100
Feb 99 150
Mar 99 300 Should be average of Jan/Feb/March
Apr 99 450 Should be average of Feb/March/April
May 99 700 Should be average of March/April/May
yada yad ayda
I have done something similar with 2 linked queries for one specific months, and numerous facilities (whereas above its one facility over a span of months). I'm having a brainfart on how to step through this process.
Let me reiterate any help (or guidance in the right direction) would be greatly appreciated!!!!
Thanks in advance
Eric
I have a query that pulls out a date and a number (FLOW for whats its worth), and I need to calculate a rolling 3 month (and 12 month, but once if figure out how to do thethree tehthe 12 should be easy) and I don't have a clue in regards to how to get it done.
for example
Date FLOW 3 MOnth
Jan 99 100
Feb 99 150
Mar 99 300 Should be average of Jan/Feb/March
Apr 99 450 Should be average of Feb/March/April
May 99 700 Should be average of March/April/May
yada yad ayda
I have done something similar with 2 linked queries for one specific months, and numerous facilities (whereas above its one facility over a span of months). I'm having a brainfart on how to step through this process.
Let me reiterate any help (or guidance in the right direction) would be greatly appreciated!!!!
Thanks in advance
Eric