Results 1 to 4 of 4
  1. #1
    jakelufkin is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2009
    Posts
    3

    Rounding the Average in a Query

    I am trying to average a score and have it round to 2 decimal places. I'm not sure what I'm doing wrong.

    This is my syntax:

    SELECT Evaluations.team, Avg(Round([introduction],2)) AS Introduciton
    From Evaluations
    Group BY Evaluations.team

    The result is

    Team 1...2.6
    Team 2...2
    Team 3...2.375
    Team 4...2.2666666666667

    Any help would be appreciated.

    Thanks!
    ~jakelufkin

  2. #2
    thhui is offline Competent Performer
    Windows XP Access 2002 (version 10.0)
    Join Date
    Feb 2009
    Posts
    235
    Converted to:-
    Code:
    SELECT Evaluations.team, round(avg([introduction]),2) AS Introduciton
    From Evaluations
    Group BY Evaluations.team

  3. #3
    jakelufkin is offline Novice
    Windows XP Access 2007
    Join Date
    Jun 2009
    Posts
    3

    Smile Thank you

    Very much appreciated, Thanks!

  4. #4
    thhui is offline Competent Performer
    Windows XP Access 2002 (version 10.0)
    Join Date
    Feb 2009
    Posts
    235
    Glad to see your posting back with success!

    If your issue is resolved, may you use this forum's thread tools feature to mark it solved.

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

Similar Threads

  1. Conditioned Average
    By BravoEcho in forum Queries
    Replies: 1
    Last Post: 06-17-2009, 09:38 PM
  2. 7 day average and total
    By jannie in forum Access
    Replies: 1
    Last Post: 05-14-2009, 05:52 PM
  3. Select query for Exponential Moving Average.
    By krishna79 in forum Queries
    Replies: 0
    Last Post: 01-22-2009, 05:52 AM
  4. Replies: 0
    Last Post: 02-14-2007, 01:35 PM
  5. Get average of unbound textboxes.
    By markhook in forum Forms
    Replies: 8
    Last Post: 07-14-2006, 09:30 AM

Tags for this Thread

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