A
AJ
I am probably not going about this the easy way, and I'm sure my database
looks nightmarish to most, but i am having problems calculating a rolling
average.
Here is a breakdown of my database. There are 8 sampling locations, each
with 4 different test results. I need to add the results together for each
location, then choose the summed result that is the highest amoung the 8
locations, and then have a 4-quarter rolling average of these highest summed
results.
I have a form that you input the year and quarter from which you want data.
There is a query for each location that chooses the data, then a union query
puts it all into one column. Then there is a query that selects only the
values that aren't "<". Then there is a query that sums the "real" values.
Then a union query selects the sum from each location. Then another query
chooses the Max sum from the 8 locations.
What I am needing now is to create a rolling average of this final results,
over the course of the last 4 quarters.
looks nightmarish to most, but i am having problems calculating a rolling
average.
Here is a breakdown of my database. There are 8 sampling locations, each
with 4 different test results. I need to add the results together for each
location, then choose the summed result that is the highest amoung the 8
locations, and then have a 4-quarter rolling average of these highest summed
results.
I have a form that you input the year and quarter from which you want data.
There is a query for each location that chooses the data, then a union query
puts it all into one column. Then there is a query that selects only the
values that aren't "<". Then there is a query that sums the "real" values.
Then a union query selects the sum from each location. Then another query
chooses the Max sum from the 8 locations.
What I am needing now is to create a rolling average of this final results,
over the course of the last 4 quarters.