L
Lou Neuder
I have a query with two simple fields: Date and Milk
(daily milk production). I would like to query that
query so that I can have a third field that calculates a
moving or rolling average of Milk based on the last 3
days. I tried making a function module that calculates
moving average but am not being successful.
Date Milk Milk3Avg
**** **** ********
1/1/04 58
1/2/04 60
1/3/04 62 60
1/4/04 61 61
1/5/04 59 60.67
1/6/04 62 60.67
1/7/04 65 62
Help!
Dr. Lou Neuder
Green Meadow Farms, Inc.
(e-mail address removed)
(daily milk production). I would like to query that
query so that I can have a third field that calculates a
moving or rolling average of Milk based on the last 3
days. I tried making a function module that calculates
moving average but am not being successful.
Date Milk Milk3Avg
**** **** ********
1/1/04 58
1/2/04 60
1/3/04 62 60
1/4/04 61 61
1/5/04 59 60.67
1/6/04 62 60.67
1/7/04 65 62
Help!
Dr. Lou Neuder
Green Meadow Farms, Inc.
(e-mail address removed)