How to connect one slicer to multiple pivot tables in Excel

You will build a small finance dashboard in Excel's Data Model, then wire a single slicer so it filters every pivot table and chart at once. It suits anyone who already knows basic pivot tables and wants reports that update from one click. You need Excel with Power Pivot and Power Query, plus your monthly report files.

YouTube video: Power Pivot Excel Tutorial: I’m a CPA, How I Automate Finance Reports (Start here)

Caption availability is unknown. Check the CC control in the YouTube player.

12 chapters. Tap a step to jump to it.Chapters from the creator
Choose a chapter (12)
Video length
9 min 12 s
Time to do it
30 minutes
Difficulty
Medium
Steps
10

What you need

Steps

  1. Save all your monthly report files in one folder. In Excel, go to Data, then Get Data, then From File, then From Folder, and point it at that folder.

  2. In the Power Query window, combine the files, promote the first row as headers, and check the column types. Then choose Close and Load To.

  3. In the load dialog, pick Only Create Connection and tick Add this data to the Data Model. Do the same for your region lookup table.

  4. Click Power Pivot on the ribbon, then Manage, then Diagram View. Drag the Region field from the lookup table onto the Region field of the report table to create a one-to-many link.

  5. Add four measures with New Measure: Actual Revenue as SUM of revenue, Budget Revenue as SUM of budget, Variance as Actual minus Budget, and Variance % as DIVIDE of Variance by Budget.

  6. Insert a pivot table from the Data Model. Put Region in Rows, Month in Columns, and the Actual Revenue measure in Values.

  7. Insert a second pivot table from the same Data Model, for example Budget Revenue by Region. Both must come from the data model, not from plain worksheet ranges.

  8. Insert a slicer from the first pivot table, for example on Region. Right-click the slicer, choose Report Connections, and tick every pivot table that should follow it.

  9. Add a pivot chart from the data model and connect it to the same slicer so the chart redraws when you click a region.

  10. When a new month arrives, drop the file into the folder and press Data, then Refresh All. The pivots, slicer and chart all update together.

Tips and common mistakes

A slicer can only control pivot tables that share the same data source or Data Model, so build every pivot from the model.

Use DIVIDE instead of the slash symbol for Variance % so blank budgets return an error-free result.

If Report Connections is greyed out, the other pivot table is still linked to a worksheet range instead of the data model.

Keep the region lookup table out of the folder import and load it once, or the relationship will break on refresh.

Questions

Why does Report Connections list only one pivot table?

The other pivot tables are probably built from ordinary cell ranges. Delete them and re-insert them with Insert, PivotTable, then Use This Workbook's Data Model.

Do I need Power Pivot for this, or will a normal pivot table work?

A normal pivot table can drive a slicer, but only the Data Model lets you combine many files and add DAX measures in one linked report.

What happens when I add a new month's file?

Save it in the same folder with the same column layout, then click Refresh All. Power Query picks it up and the measures recalculate.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Money & Office

See all