+ Reply to Thread
Results 1 to 1 of 1

One slicer for two or more PivotTables without using Data Model

  1. #1
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Cool One slicer for two or more PivotTables without using Data Model

    It's very simple example how to control two or more Pivot Tables with one Slicer without using Data Model.
    Name:  onelicertwopt_edit.gif
Views: 278
Size:  77.4 KB

    Basic rule:
    All tables should have common Primary Key (column with unique value for each row)

    For easy to use we can change Range Tables to Structured Tables
    1. click anywhere inside Range Table
    2. Ctrl+A
    3. Ctrl+T

    Do the same for each other Range Tables

    Now we need to merge all single tables into one with Primary Key condition.
    (see Third sheet in example)

    To do this you can use formulas such as:
    • INDEX(...,MATCH(...,...,...))
    • VLOOKUP(...,...,...)
    • or any other.


    After that select any cell in the third table and create FirstPivotTable then SecondPivotTable by using Insert tab from the ribbon
    • Insert - Pivot Table
    • Untick Data Model if exist (for higher version than 2010)

    Click on the first Pivot Table and from the tab PivotTable Tools, Filter, select Insert Slicer (what kind of slicer it's up to you)
    then right click on slicer and select Repoert Connections...
    and select these PTs which you want to manage by this slicer

    That's all.
    Like I said above this is very simple example to show how you can use single slicer with two PTs
    Of course you can say: use PowerPivot or PowerQuery and Yes, I can but this example is for users without these features or add-ins.

    If you like it - use Add Rep.
    Attached Files Attached Files
    Last edited by sandy666; 07-15-2017 at 10:46 AM. Reason: image updated

+ 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. How to make a time period a variable for this model? (automating the model)
    By pigment01 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-17-2015, 12:47 PM
  2. Make one slicer mirror filters of another slicer
    By IbenezPrez in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-28-2014, 02:00 PM
  3. Create a model that will generate a column of numbers based on model parameters
    By tncanoeguy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-01-2013, 05:47 PM
  4. Slicer Macro - unfilter another slicer on selection
    By chadheins in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-24-2012, 10:41 AM
  5. [SOLVED] Change Chart Title Depending on a Slicer - slicer advice
    By JungleJme in forum Excel General
    Replies: 8
    Last Post: 08-17-2012, 07:59 AM
  6. [SOLVED] Changing Data Source in PivotTables
    By nirvehex in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-23-2011, 04:50 PM
  7. Can't clear saved data in Pivottables
    By ben in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-27-2005, 11:06 PM

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