+ Reply to Thread
Results 1 to 2 of 2

Pivot table and totals calculation of columns

  1. #1
    Registered User
    Join Date
    08-02-2007
    Posts
    2

    Pivot table and totals calculation of columns

    I query a database to get a 31 by 12 matrix of months and days for a total number of values for a year and return the data to a pivot table. Let's say for example the company sells widgets and my boss wants a report that shows the number of widgets by day and Month that are sold for the whole year. A pivot table is great for this because I put the months on the columns and the days of the months on the rows.

    He also wants to know by month or column what is the minumum , maximum, average and total number of sales by month. I have been able to do this by using two queries to the database and using two pivot tables. It seems though that the one pivot table could do this but I just can't figure out how to calculate the aggregate values by month and have them only reported at the bottom of the pivot table just like the grand totals are. What concept am I missing?? I will express my thanks to any help in advance...

  2. #2
    Forum Contributor
    Join Date
    08-11-2004
    Posts
    109

    pivot table

    When you go to the pivot table wizard and go to layout. In the column area you can pick the sales field several times and double click on the sales field and make one avg, min, max etc...

    I hope the attached helps.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1