+ Reply to Thread
Results 1 to 5 of 5

Slicers and Mixed data - Pivot and tables

  1. #1
    Registered User
    Join Date
    08-31-2022
    Location
    Sydney, Australia
    MS-Off Ver
    O365
    Posts
    3

    Post Slicers and Mixed data - Pivot and tables

    Looking for help

    Have a multi sheet excel file with 3 + tables of data. For each table they have a similar column (Manager)

    Have created 3 Pivot tables and for ease of use linked the slicers to the Pivots

    A Manager comes in to a summary page - select their own name from 1 slicer - and each of the 3 pivots displays data about their team members nicely formatted

    All works well. The single Excel file is shared via one drive - and I want each Manager to access the file, select themself and check the team members data is correct
    (Privacy issues are not a concern around the data - so if someone selects someone else its ok - no issue)

    On the summary page - I have a table of Managers names (to also be filtered) that allows the manager to tick off 3 columns of actions (1 per sheet)
    i.e I checked Pivot 1 - all ok, I checked pivot 2 - all ok, I checked pivot 3 - it needs some data changes !

    I thought I could connect the 1 slicer to the data entry table - but am unable to - any ideas would be helpful ?

    As a separate option (marking pivot data for amendment) is there a way to on the same set of 3 pivot tables - have the Managers add comments against some of their rows ?
    I can have them color a cell - and it sticks in the pivot data

    If I add a Note or a comment - it sticks to the underlying cell

    And I cant see where you can append comments to a row in the pivot

    Hope this makes sense

  2. #2
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,055

    Re: Slicers and Mixed data - Pivot and tables

    Please attach sample workbook.

  3. #3
    Registered User
    Join Date
    08-31-2022
    Location
    Sydney, Australia
    MS-Off Ver
    O365
    Posts
    3

    Re: Slicers and Mixed data - Pivot and tables

    Attached file as an example - I want the summary to show pivot data and access the tracker to complete details for the person
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,055

    Re: Slicers and Mixed data - Pivot and tables

    Use the Name field in Managers table in place of the Regional Manager field in PivotTables PivotStates and PivotFacilities.

    To link slices in PivotTables and Excel tables, you need to do it with VBA.

    Check out the VBA codes here: https://stackoverflow.com/questions/...icers-in-excel

  5. #5
    Registered User
    Join Date
    08-31-2022
    Location
    Sydney, Australia
    MS-Off Ver
    O365
    Posts
    3

    Re: Slicers and Mixed data - Pivot and tables

    Thanks

    So after a lot of trial & error a couple of things learnt :

    1. A pivot table without a "value" column is not recognised by the slicers report connections correctly !
    I had 2 pivot tables where I was looking at just the row data - show the users a few elements of the structure - no calculated values
    Whenever I tried to get a single slicer to connect - it only worked on the 1 pivot it was created against

    If I added a value to the pivot design - bingo all worked - could connect 1 slicer to multiple pivots

    2. Needed to make some changes to get the VBA macro to use the Pivot slicer selections and update the Table Slicer selections
    On my O365 version of excel - it seems the object model is different depending on which slicer you are processing

    So for the pivot slicer - to read the values I need to use .SlicerCacheLevels(1).SlicerItems

    Then for setting values on the table slicer - needed to use [Table Slicercache].VisibleSlicerItems([sliceritem].Value).Selected = [sliceritem].Selected

    Please review the attached macro enabled excel
    Attached Files Attached Files

+ 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. Slicers not linking all Pivot Tables
    By Ochimus in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-09-2021, 01:41 AM
  2. Need help creating pivot tables and slicers off data
    By pigment01 in forum Excel General
    Replies: 1
    Last Post: 09-13-2018, 04:32 PM
  3. Pivot Tables and Slicers
    By MarBoTJ in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-17-2018, 03:10 PM
  4. Extracting filtered data selected using slicers and pivot tables
    By racundra in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-15-2016, 04:27 AM
  5. slicers on copied pivot tables
    By stephme55 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-07-2016, 02:07 PM
  6. Replies: 0
    Last Post: 11-12-2014, 08:39 AM
  7. Pivot tables/slicers
    By Kittykatinla in forum Excel General
    Replies: 0
    Last Post: 11-06-2014, 02:21 AM

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