• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

slicer automatic selection of not chosen item

Maxwolf

New Member
ok, i have 2 slicer, and i would like when we choose items in the first slicer than automatically selected in the secon slicer ,items who has not been choosen in the first slicer .

there is the file.
 

Attachments

  • samplesyncopposite.xlsm
    83.3 KB · Views: 3
Hmm, that is not really how slicers work. They can only "synchronize" when they share the same pivot cache. But in this case is is about the same column and the same slicer. They would be the same.
A workaround would be using a helper column. And make a second pivot on that extended range. You would need to refresh the second pivot first. On the second slicers you would see the item values that are not selected in the first one, first (the selected items are at the bottom, in lighter shade). Or insert some macro to avoid manual refresh.
Not sure this is actually what you are after though.
 

Attachments

  • Copy of samplesyncopposite.xlsm
    128 KB · Views: 2
If you have Excel 2010 and up, base your pivot table on OLAP model.

Then you can use VBA and .SlicerChaches(Index#).VisibleSlicerItemsList to capture selected items on the first and apply converse selection to second.

If using older version. I would recommend going with GraH - Guido's method. Since there is no available list of visible item and you'd need to loop through each field item.
 
Last edited:
Back
Top