Pivot Slicer Question

Iain Munro

New Member
Joined
Aug 29, 2020
Messages
9
Office Version
  1. 365
Platform
  1. MacOS
Morning

I have a Pivot Table that has 77 rows of clients - after about row 29, the quantity column goes to 1 for the remaining items.

When I created a Pivot Slicer, it would be nice to just to be able to select from say the top 10 clients rather than a slicer that has 77 values to chose feom.

Is there a way to do this ?

Iain
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi Iain
I have a way for this but it is a little bit of a hack but it'll work.
In your data create a column that selects the data you want to include in your slicer based on the rank.eq function. This is why it's a bit of a hack as you'll need to calculate your top 10 within the data, maybe using a coutif or sumif depending how you want to define the top 10. So column for your scoring, next column use rank.eq on the previous column and wrap with an if. eg =if(rank.eq(<cell with rank>,<range of cells of rank column>,0)<=10,<Column to show in slicer>,"")
Then use this column as your slicer with the pivot.

Ron
 
Upvote 0

Forum statistics

Threads
1,214,824
Messages
6,121,784
Members
449,049
Latest member
greyangel23

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