Results 1 to 6 of 6
  1. #1
    mejia.j88 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Nov 2011
    Location
    california
    Posts
    228

    Question average of averages?

    hi all,

    i am creating a report that requires some averages. Each row in my query serves as a record for a part number, and each part number gets measured 3 times.
    the average i have right now is given by ([measurement1] + [measurement2]+[measurement3])/3 and this is in a new field called
    PostEtchM in my query.

    in my report, i want to be able to take the average of these averages.
    for example,
    my report will say something like



    part number average etch
    RSX1234 0.0894

    but that 0.0894 will be the average of all of the averages for that specific part number.

    how do i go about creating this new average if the amount of records for part numbers vary?

  2. #2
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    How are you getting [measurement1], [measurement2] and [measurement3]
    . . . into one row of your Query [to reference them in your new field Avg. Calculation] - if they are in three different rows in your Table?

    Or am I misunderstanding?

  3. #3
    mejia.j88 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Nov 2011
    Location
    california
    Posts
    228
    i think a snapshot of the query will clear things up.

    the measurements1,2,3 are different columns, each row will have an try for the fields.

  4. #4
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    Have you considered creating a second query that uses the above query as its source?

    Then you can Group the fields in your first query that are identical [like ID and PartNumber] - and 'Average' the postAVG field.

  5. #5
    mejia.j88 is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Nov 2011
    Location
    california
    Posts
    228
    thanks robeen, that worked great!

  6. #6
    Robeen is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    Mar 2011
    Location
    Tulsa, Oklahoma.
    Posts
    1,596
    happy I could help!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. averages in a report?
    By mejia.j88 in forum Reports
    Replies: 3
    Last Post: 01-18-2012, 06:12 PM
  2. Averages
    By Nixx1401 in forum Queries
    Replies: 1
    Last Post: 05-26-2011, 10:08 AM
  3. Replies: 23
    Last Post: 06-30-2010, 02:05 PM
  4. Replies: 13
    Last Post: 05-28-2010, 11:57 AM
  5. Query showing averages for groups
    By AnthonyTesta in forum Queries
    Replies: 1
    Last Post: 02-03-2010, 09:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums