Filter top 10 values

addy_89

New Member
Joined
Jul 9, 2014
Messages
21
Hi,

I want to filter top 10 values in for two entries in row items in pivot. for eg

[TABLE="width: 182"]
<tbody>[TR]
[TD]1 (Week)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]x (Value in Week)[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]y[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]z[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]2(Week)[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]x[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]y[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]z[/TD]
[TD="align: right"]4[/TD]
[/TR]
</tbody>[/TABLE]

So, i want to sort on week and then want to show the top 10 values for all entries in that week (there are multiple entries) and if possible i would like to get the common values separately which are common for all the weeks.
I used the topn function but is not working for me :(. Please help power pivot experts!
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Ignoring any powerpivot magic, the pivot table will let you do a top 10 on any of the fields. I just tried this again, and was able to show the "top 3 children" even though I had 10 "parents".
 
Upvote 0

Forum statistics

Threads
1,224,019
Messages
6,175,956
Members
452,688
Latest member
spookralls

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