+ Reply to Thread
Results 1 to 3 of 3

Changing Pivot Table Source Data w/ Filter Controls

  1. #1
    Registered User
    Join Date
    08-27-2006
    Posts
    48

    Changing Pivot Table Source Data w/ Filter Controls

    Hi,

    I have a report with multiple pivot tables (PT) that feed from the same source data. The source data is from a web query, so I can't give it a table name as it seems to discard it when it's refreshed.

    There are rare occasions when new columns are added to the raw data so I need to change the source data for those PTs. However, I have a slicer tied to all of these same PTs as well. It becomes a hassle to update each PT's source data to include the new columns because it makes me disconnect them from the slicer before I can change it.

    It wouldn't be too much of a hassle except the slicer is filtering to show only 13 months and these PTs are all on the same tab. So it won't just let me remove them from the slicer because it gives me the error that you cannot overlap PTs. Now, I have to go to each table and filter so it shows fewer months to avoid that error. Then, change the data source for the PTs, reapply the slicer, and remove the manual filter.

    Any shortcut to this? As I said, it doesn't happen all that often, so doing it this way isn't the end of the world. I simply want to know if there is a better way.

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,956

    Re: Changing Pivot Table Source Data w/ Filter Controls

    Since you can't assign the source data to a table, then do it using the pre-2007 method: define a named dynamic range using the offset command.

    Something like =OFFSET(Data!$A$1,0,0,Counta(Data!A:A),Counta(1:1) should work.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    08-27-2006
    Posts
    48

    Re: Changing Pivot Table Source Data w/ Filter Controls

    Great. Thanks!

+ 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. Changing data source in pivot table
    By viber52 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-21-2015, 09:14 AM
  2. [SOLVED] Changing source data on a Pivot table by VBA
    By ZuneidDassu in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-31-2014, 04:23 AM
  3. [SOLVED] Refresh of pivot column filter dropdowns when changing the source data
    By rmg08057 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 10-05-2012, 08:25 AM
  4. Changing Data source of a pivot table
    By ram-gopal in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-05-2012, 01:28 AM
  5. Changing the source data in a pivot table... how?
    By shadestreet in forum Excel General
    Replies: 1
    Last Post: 04-27-2007, 11:43 AM
  6. Changing Data Source for Pivot Table
    By jjj in forum Excel General
    Replies: 1
    Last Post: 04-13-2006, 04:40 AM
  7. Replies: 2
    Last Post: 08-29-2005, 05:05 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