undefinedundefinedundefined
I have a problem. I want to create a query that has some complicated calculations. One of my fields i want to be an average. This average is a 4 week average based off of the prior 4 weeks. The weeks are just monday through friday. So in a given week the average would be the same for the whole week. How do i do this. What i was thinking was to some how get the monday and then get an average of the 20 records before that. In the final result I would like to see Every date that i have on my table along with the average for each day. I just can not come up with a way to do this.
If any one could help i would greatly appreciate it.

I have a problem. I want to create a query that has some complicated calculations. One of my fields i want to be an average. This average is a 4 week average based off of the prior 4 weeks. The weeks are just monday through friday. So in a given week the average would be the same for the whole week. How do i do this. What i was thinking was to some how get the monday and then get an average of the 20 records before that. In the final result I would like to see Every date that i have on my table along with the average for each day. I just can not come up with a way to do this.

If any one could help i would greatly appreciate it.