Filtering 2 columns in pivot table using different values.

INN

Board Regular
Joined
Feb 3, 2021
Messages
118
Office Version
  1. 365
Platform
  1. Windows
Hi
I created a pivot table which shows Items as Rows and Total as Values. I inserted Total as another Values in pivot table. I want 2 columns as Values in pivot table so I can filter them. One to show Total for 2022 and another one from 2021. Is that possible? Right now both columns change when I use Year as a filter. But that what I do not want. I want one to show 2021 year and another one to show 2022 year. Thank you very much.

SNAG-0971.jpg
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Is the below what you want to finish up with ?
Show me your pivot table navigation pane. Mine is at the bottom.
If you only have date and not Years in your field list, do you know how to set up grouping for your date field ?

20221114 Pivot Table with Slicer INN.xlsx
ABCDEFGHI
1DateSalesRepItemRegionTotal
28/05/2021LindaAEast20
37/07/2021TaoDCentral16
411/05/2021RajCWest105Sum of TotalYears
511/03/2021RajCWest75Item20212022
610/04/2021TaoDCentral24A60110
717/03/2022TaoDCentral56C180
85/12/2022LindaAEast70D4080
93/06/2021LindaAEast40E65
102/09/2022LindaAEast40Grand Total280255
1130/06/2022BobEEast65
1230/06/2022TaoDCentral24
Sheet1


1668405310696.png
 
Upvote 0
Solution
Yes, that is what I want! Yes I know how to get the year. Many thanks indeed for your help.
 
Upvote 0
You're welcome. Phew. Glad you know how to do the year that was going to be the hardest part to explain ;)
 
Upvote 0

Forum statistics

Threads
1,214,957
Messages
6,122,472
Members
449,087
Latest member
RExcelSearch

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