Advertisement

05.07.2008 at 08:33AM PDT, ID: 23383140
[x]
Attachment Details

How to calculate season to date averages by week

Asked by allanbros in Microsoft Access Database

Tags: Microsoft, Access, 2007

I can't seem to get my head around how to do this in a query or series of queries in Access.  I am extracting some data and I need to show the weekly average price and a season to date average price.  The weekly price is easy as I'm just grouping our ship date by week and utilizing a formula to calculate the average fob, but the season to date fob would essentially need a different date range for each calculation - the beginning of the season (in this case 9/1/2007) through the last day of each week.

Does anyone know if this is something that can be done in a situation like this?  

If it makes a difference, The average price is not just a straight average, the formula looks like this (FOB is the price per box)...

Avg FOB: (Sum([Boxes]*[FOB]))/(Sum(([Boxes]*[Weight])/[CommodityWeight]))

Thanks!

AutumnStart Free Trial
[+][-]05.07.2008 at 01:16PM PDT, ID: 21519994

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.08.2008 at 08:32AM PDT, ID: 21525589

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.08.2008 at 11:49AM PDT, ID: 21527387

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.08.2008 at 03:02PM PDT, ID: 21528857

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.09.2008 at 11:40AM PDT, ID: 21535439

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Access Database
Tags: Microsoft, Access, 2007
Sign Up Now!
Solution Provided By: sqd5597
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628