Results 1 to 6 of 6
  1. #1
    tngirl is offline Novice
    Windows XP Access 2003
    Join Date
    May 2013
    Posts
    20

    calculation in Crosstab Query

    Is it possible to create a calculation for the values in a cross tab query? I need to display the passing quality score percentage for each employee for each month. i will need to use the total passing records for each employee for each month then divided that by the total QA records for each month. I'm not sure if this is possible with a crosstab query.

    I appreciate your help, thank you

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Not easy with any query.

    Easy with a report based on raw data table and using Grouping & Sorting features and summary calcs in footers.

    Building a report based on CROSSTAB to run perpetually is not simple because of the dynamic nature of the column headings, especially for date values.
    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.

  3. #3
    tngirl is offline Novice
    Windows XP Access 2003
    Join Date
    May 2013
    Posts
    20
    I can do the calculation in the report, but in a standard report, how would I make the column headings prefil the month/yr based on the start date enter? I would like this to display 12 months of data based on the start date entered. Thank you for your help

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    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.

  5. #5
    tngirl is offline Novice
    Windows XP Access 2003
    Join Date
    May 2013
    Posts
    20
    can you please elaborate on what a temp table is, thank you.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    A temp table is a table that temporarily holds records for a procedure. The records are deleted when the procedure completes.
    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.

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

Similar Threads

  1. Replies: 2
    Last Post: 08-16-2013, 01:36 AM
  2. Calculation Field in table vs Query calculation
    By Leonidsg in forum Database Design
    Replies: 18
    Last Post: 02-28-2013, 09:38 PM
  3. Calculation Help, Either Query or Crosstab
    By mweisler20 in forum Queries
    Replies: 1
    Last Post: 06-30-2012, 01:44 PM
  4. Replies: 1
    Last Post: 07-30-2010, 10:28 AM
  5. crosstab query calculation
    By rutica in forum Queries
    Replies: 2
    Last Post: 04-28-2009, 09:52 AM

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