J
Jackson via AccessMonster.com
Hi,
I have a table that is going to have a date stamp for each record, a book
like Canada Equity and a Market Value Amount.
What I want to do is find the Month to Date Average Market Value Amount. The
month to date part I can simply do via criteria in the query, however,
finding the average is the problem for me. Lets take today for example. Using
Close of Business data, there are 3 business days that have fully completed.
For most books, this would simply be the sum of the MV/3 days of records. But,
if a book has only had a MV for 2 days of the month, it would only need to
calculate this based on those two days, not the sum of the MVs/3. Thus I
guess I need to somehow count the number of occurances for each book and each
date stamp month to date....
Any suggestions on how to go about this? Any help would be appreciated.
Cheers.
I have a table that is going to have a date stamp for each record, a book
like Canada Equity and a Market Value Amount.
What I want to do is find the Month to Date Average Market Value Amount. The
month to date part I can simply do via criteria in the query, however,
finding the average is the problem for me. Lets take today for example. Using
Close of Business data, there are 3 business days that have fully completed.
For most books, this would simply be the sum of the MV/3 days of records. But,
if a book has only had a MV for 2 days of the month, it would only need to
calculate this based on those two days, not the sum of the MVs/3. Thus I
guess I need to somehow count the number of occurances for each book and each
date stamp month to date....
Any suggestions on how to go about this? Any help would be appreciated.
Cheers.