+ Reply to Thread
Results 1 to 3 of 3

pivot slicer connect to another set of data

  1. #1
    Forum Contributor
    Join Date
    06-07-2016
    Location
    Manila
    MS-Off Ver
    365
    Posts
    292

    pivot slicer connect to another set of data

    Hi,

    Not sure if this is possible.

    I want my slicer in "Pivot" tab to be connected to the 2nd pivot table. I cant connect them since they have different data sources.

    If I select Team A in the slicer, I want the 2nd Pivot table to be filtered as Team A

    (sample workbook attached)

    is this possible? Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: pivot slicer connect to another set of data

    This is where you can use Power Pivot to join your data.

    Format your source data as tables, and use Power Query to load the data to the data model:

    Table1:
    Please Login or Register  to view this content.
    Table2:
    Please Login or Register  to view this content.
    Add a third query to get all the distinct Team values, in a third table.

    Teams:
    Please Login or Register  to view this content.
    Close and load all three queries: "Only Create Connection", and tick "Add this data to the Data Model".

    Now in PowerPivot create a relationship between the tables, on field Team:

    xlf_1279619.png


    Now you can create your pivot reports from your Data Model tables. Add a slicer using field 'Team' from table 'Teams', and connected that slicer to both pivot tables.

    See attached workbook for a worked example.
    Attached Files Attached Files
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Contributor
    Join Date
    06-07-2016
    Location
    Manila
    MS-Off Ver
    365
    Posts
    292

    Re: pivot slicer connect to another set of data

    Thanks, found a solution on this.

    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. How to connect slicer
    By ziyan89 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-10-2019, 03:39 AM
  2. How to connect slicer
    By ziyan89 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-23-2019, 11:19 AM
  3. [SOLVED] Can't Connect Slicer & Timeline To Two Pivot Tables
    By rahul_ferns76 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 07-28-2017, 04:11 AM
  4. [SOLVED] How to connect two different sets of data through a single slicer with 5 common fields?
    By dev.jajati in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 07-29-2016, 03:40 PM
  5. [SOLVED] Connect multiple pivots (with multiple data sources) to one slicer
    By jeroenft in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 08-24-2015, 07:29 PM
  6. [SOLVED] Connect multiple pivots (with multiple data sources) to one slicer
    By jeroenft in forum Excel General
    Replies: 1
    Last Post: 08-24-2015, 04:49 AM
  7. Is It Possible to Connect A Slicer to Two Pivot Tables?
    By NewJerichoMan in forum Excel General
    Replies: 2
    Last Post: 04-26-2015, 01:35 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