Pivot table slicers

matts12

New Member
Joined
Mar 21, 2023
Messages
18
Office Version
  1. 2021
Platform
  1. Windows
I have inserted a sample workbook with pivot tables and a line chart. What I would like to know is how could I get the second chart to show 2 year data based on my slicer selection. If I select 2021, as shown, I would want on the second pivot table to show me 2020 and 2021 data. I'm using it to calculate year over year averages. The first pivot table has to work correctly on single year data. I'm controlling multiple charts on a dashboard with the same slicers, and I'm stuck with this issue.

Also how could I see the 2 years displayed on the pivot chart legend. I'm not sure if I have my 2nd pivot table set up correctly. Any help would be appreciated. Thanks

Pivot Charts.xlsx
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top