Results 1 to 7 of 7
  1. #1
    Daryl2106 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    167

    Pivot tables

    HI,



    I am trying to use a pivot table to display attendance data by date (rows) and courses (columns). I would like to be able to add additional calculated fields and don't quite know how to proceed. Does any one know of a good resource for beginners to learn more about pivot tables in Access. There seems to be lots of info on pivot tables in Excel but little for Access.

    Take care,

    Daryl

  2. #2
    alansidman's Avatar
    alansidman is offline Indifferent
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,536
    You have more flexibility using Excel for pivot tables.  Why not export your query directly to excel and do your pivot calculations there?  Somethings are just easier in Excel and Pivot tables are one of them.

    Here is a one hour tutorial on excel pivot tables by Mike Alexander that will probably cover what you want to do. It is very extensive and informative.

    http://www.datapigtechnologies.com/W...tTableTips.htm

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Be aware, Microsoft removed Pivot Table/Chart views from Access 2013.

    Yes, pivot tables and charts are easier in Excel but much can be replicated in Access. Unfortunately, I've never found a single authoritative reference and guidance on charting in Access is rare. This is a nice introductory article http://vb123.com.au/toolbox/09_acces...07charting.htm
    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
    Daryl2106 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    167
    Thanks June et. al.,

    Before I embark on this challenge I am still trying to determine the best way to proceed. What I need is a way present (as an example) a year's (about 16 records;biweekly) attendance for a student in each of up to 8 courses. There are two important columns in each record: ClassesAttended and ClassesOffered. I`ll need to calculate biweekly averages as well as course averages over a given period. It would be nice to see the raw data as well as trends (graph?). Reports...pivot tables...pivot charts...graphs...I am hoping to choose the best one before I get going rather than trial and error.

    As always thanks for your help,

    Daryl

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    Don't know enough about your db to be definitive. I only know I have a lot of graphs in my project. These graphs were originally done in Excel but I wanted to eliminate Excel as a component so I replicated with Access. They all also use VBA code for formatting. In one case, what would have been a single graph in Excel required 4 layered graphs in Access. None are pivot charts, all use chart control.
    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.

  6. #6
    Daryl2106 is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Sep 2011
    Posts
    167
    Hi June,

    Thanks for the reply. I know very little VBA (just starting to learn) so I think I will need to look at other options, either a report or pivot table or excel export. I have attached a screen capture of a pivot table with the data I need to display. All I am missing is averages for each course (for the attendance dates provided) and for each attendance period (for the courses provided). Thanks for your direction to date.

    TC,

    Daryl
    Attached Files Attached Files

  7. #7
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,625
    I've never had need for pivot chart/table but I can see their applicability for your data output. Replicating the table you posted might be possible with crosstab queries.

    Along with Grand Total under each column, you want Average? Average is not an aggregate calc option in pivot table?
    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. Saving Pivot Tables
    By djclntn in forum Forms
    Replies: 2
    Last Post: 01-04-2013, 09:00 PM
  2. Replies: 1
    Last Post: 08-22-2011, 02:09 PM
  3. sql and/or pivot?
    By mbar in forum Queries
    Replies: 6
    Last Post: 04-08-2011, 03:16 PM
  4. Sorting/Subtotaling pivot tables
    By Tina in forum Access
    Replies: 0
    Last Post: 08-25-2010, 10:34 AM
  5. Pivot tables and charts - Access or Excel
    By kkrishna in forum Access
    Replies: 1
    Last Post: 06-06-2010, 04: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