Results 1 to 5 of 5
  1. #1
    Gabriel2012 is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Nov 2012
    Posts
    31

    Touble Calculating Accuracy in a Query


    Hello, so below is my issue.

    I have a "CountoferrorID" field which I need to divide by the "Total Orders Booked" field in order to calculate an accuracy figure. These two fields are populated off of queries which have each stat broken down by accounting period, I.E 1,2,3 for each CSR. In this new query I need to calculate the data for the entire year, so I am using the "YEAROF" field to group by, and it works as far as counting all the "Error IDs" for the year and summing the "Total Orders Booked". However, when I enter the accuracy calculation it then breaks down each stat by period, does not show the period it simply lists each EIM multiple times, instead of by the year, any suggestions? See below...
    Attached Thumbnails Attached Thumbnails untitled.JPG  

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    It appears you're grouping by the accuracy field. Which value do you want for it (Sum, Max, Min, etc)?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Need to see query SQL statements and maybe even sample of source data. If you want to provide db for analysis, follow instructions at bottom of my post.

    Does the Accuracy calculation field have 'Expression' or 'Group By' selected?
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    Gabriel2012 is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Nov 2012
    Posts
    31
    My oh my, you solved it, many thanks .

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    Happy to help.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Calculating a sum in a query
    By Crazybrit in forum Queries
    Replies: 4
    Last Post: 12-04-2012, 07:43 AM
  2. Calculating Totals in Query
    By dualvba in forum Access
    Replies: 2
    Last Post: 08-23-2012, 09:37 AM
  3. Calculating percentile with query
    By glmtd in forum Queries
    Replies: 5
    Last Post: 07-26-2012, 01:35 AM
  4. Calculating Sub Totals in a Query
    By cassidym in forum Queries
    Replies: 2
    Last Post: 06-09-2010, 01:26 PM
  5. Enforcing Data Accuracy from FK
    By Minerva in forum Access
    Replies: 3
    Last Post: 02-21-2010, 04:01 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