I have 3 sheets with several pivot tables on each and one sheet with the source data. These 4 sheets were copied directly from another workbook. When I copied the worksheets over the source data for each pivot table was still the original source data sheet in the original workbook. Therefore, I changed each pivot table's source to the copied over raw data sheet. Whilst doing this I had to disconnect all the pivot table slicers in order to be able to change the source.
Now, this is where my problem lies; When I go back to reconnect the slicer only one of the pivot tables shows up in the list, when in fact I need to connect the slicer to several. What do I need to do?
Note: I did all of this using a macro that I created so I am open to using macros.
First of all, take two or more pivot tables to connect a slicer. After that, select a cell in any of the pivot tables. From here, go to Analyze → Filter → Insert Slicer. Now from the “Insert Slicer” dialog box, select the column to use as a filter in the slicer and click OK.
With the slicer selected, go to the Slicer tab in the ribbon. Choose Report Connections. Initially, the slicer isn't connected to any pivot table. Choose each pivot table in the workbook.
If you create multiple pivot tables from the same pivot cache, you can connect them to the same slicers, and filter all the pivot tables at the same time. To create the Slicer connection in the second pivot table: Select a cell in the second pivot table. On the Excel Ribbon's Options tab, click Insert Slicer.
I was able to resolve this issue with the following steps;
Delete all slicers
Change the Table name:
For each pivot table, click on change data source button. The new name should already be in there so just press enter. If you didnt delete all slicers it will throw an error, indicating that it is only identifying other pivot tables with the same datasource now.
Create a new slicer and reconnect to all tables.
Note that step 2 may not be required but that is the workflow that I followed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With