Results 1 to 2 of 2
  1. #1
    ginglis is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2010
    Posts
    1

    help needed with a query calculation


    I have a table on which I need to perform some calculations. I basically have 1 column with a number of values as below
    Column_name
    12345
    23342
    123234234
    1212
    23234
    12123423
    324
    234

    The calculation I need to perform is to go through each value and calculate the percentage of the total of all the values in the column.

    Help greatly appreciated.

  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,521
    This would probably be easier to do on a form or report. In a query, you'd have to use a DSum() or subquery to get the total on each line to do the math.
    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. calculation in a query
    By elmartinez in forum Queries
    Replies: 3
    Last Post: 02-12-2010, 03:23 PM
  2. IIF() in a query calculation
    By bbylls in forum Queries
    Replies: 4
    Last Post: 12-03-2009, 04:42 PM
  3. Query Calculation
    By kellyd in forum Queries
    Replies: 5
    Last Post: 08-31-2009, 11:14 AM
  4. Query Assistance Needed
    By elotromanuel in forum Queries
    Replies: 1
    Last Post: 03-17-2009, 09:31 PM
  5. Query help needed asap!!
    By msaccess09 in forum Queries
    Replies: 1
    Last Post: 02-25-2009, 09:39 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