Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Report connections for Pivot table slicer doesn't show all pivot tables?

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.

like image 901
Sorath Avatar asked Jun 19 '18 15:06

Sorath


People also ask

How do I report multiple connections to a slicer?

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.

How do you add a pivot table to a report connection?

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.

Can we connect same slicer to multiple pivot tables?

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.


Video Answer


1 Answers

I was able to resolve this issue with the following steps;

  1. Delete all slicers

  2. Change the Table name:

    (example here)

  3. 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.

    (example here)

  4. 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.

like image 179
Dane Howarth Avatar answered Oct 27 '22 10:10

Dane Howarth