+ Reply to Thread
Results 1 to 5 of 5

Changing the same filter on multiple pivots

  1. #1
    Registered User
    Join Date
    03-05-2013
    Location
    Boston, USA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Changing the same filter on multiple pivots

    I have a file that contains over 10 different pivot tables and charts. They are all linked to the same raw data and they all have the same report filters that can be applied to the data. One of the report filters is the country (there are 12 different countries). Is there a way to change all of the pivot filters at the same time? Right now you have to go to each individual pivot, select the report filter and change it to the desired country. My only thought is recording a macro of changing the filter for each country.

    anyone know if there is a way to change all pivot report filters at once?

    thanks

  2. #2
    Registered User
    Join Date
    03-05-2013
    Location
    Boston, USA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Changing the same filter on multiple pivots

    Writing a macro to change all of the filters is actually pretty easy. I recorded one macro to change all the countries, then copied the macro over again and used find replace to make a new macro for each country. Now the issue is that people who are very unfamiliar with excel are going to use this sheet. is there a way to move the macro commands to the sheet? So that instead of going to the view macro command in the ribbon can I have the command to run a macro in a cell in the sheet?

  3. #3
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Changing the same filter on multiple pivots

    Have you looked into slicers? you can connect them to multiple Pivot tables, so long as the pivot tables are based on the same data source.
    http://chandoo.org/wp/2010/12/08/dyn...ideo-tutorial/
    http://www.addictivetips.com/microso...tables-charts/
    Please click the * icon below if I have helped.

  4. #4
    Registered User
    Join Date
    03-05-2013
    Location
    Boston, USA
    MS-Off Ver
    Excel 2010
    Posts
    38

    Re: Changing the same filter on multiple pivots

    Wow, I didn't know about slicers. That's awesome!

  5. #5
    Valued Forum Contributor Melvinrobb's Avatar
    Join Date
    06-19-2012
    Location
    Manitoba, Canada
    MS-Off Ver
    Excel 2013
    Posts
    1,128

    Re: Changing the same filter on multiple pivots

    They are only available in Excel 2010 or newer, so compatability is an issue if you are accessing this file in 2007 or 2003, but the ability to manipulate multiple pivot tables is really convenient.

+ 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