+ Reply to Thread
Results 1 to 2 of 2

Multiple Pivot Tables - Single table of source data

  1. #1
    Registered User
    Join Date
    02-19-2014
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    21

    Multiple Pivot Tables - Single table of source data

    Hi All,

    I am trying to generate several pivot tables from one data source table. I have successfully created my first pivot table (A date field, and a water storage facility level reading) and subsequently a graph from this. I have worked out that I need to group my dates as I am supplied a daily reading, but only need monthly average. All worked great.

    Now i need to create more pivot tables and graphs. The next one I want is to create one grouped by years. But when I create this new pivot table and change the grouping of the date field to yearly, it also changes the grouping on my first pivot table, which is undoing my work. Does anyone know how to tell excel that these pivots are independant, and I dont want them changing in unison? See screen grab of my source data and where I am up to...

    Microsoft Excel - 401027_0100.00_0221.00.csv_2014-03-10_11-41-35.jpg

    Thanks all.

  2. #2
    Registered User
    Join Date
    02-19-2014
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Multiple Pivot Tables - Single table of source data

    I have been given the solution!!! I just created a simple macro button, and now when I create my second Pivot Table I select somewhere within then run macro. This code opens a new sheet, creates a pivot table (and a new cache), then it assigns the new cache to the selected pivot, then deletes the new sheet and then the two pivot tables work independently!

    For anyone looking for the code, this is what I used:

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Change Pivot Source Data in multiple pivot tables
    By jacol in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 05-20-2014, 06:18 AM
  2. Multiple Pivot Tables, Same Data Source
    By joshbd in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 03-10-2014, 12:00 AM
  3. Replies: 2
    Last Post: 03-07-2013, 02:16 PM
  4. Replies: 3
    Last Post: 02-27-2012, 08:03 PM
  5. Change multiple pivot tables data source..
    By benclayes in forum Excel General
    Replies: 3
    Last Post: 11-06-2010, 12:46 PM

Tags for this Thread

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