Filter Pivot Table to show highest value of each parent row

griffj

Board Regular
Joined
May 29, 2015
Messages
56
Hi

I have a Pivot Table (created from an Excel Data Model) that shows the customer, product range (3 ranges) and total spend per product range.

What I want is to return the highest spending product range for each customer. I have tried using the 'Top Filter' in the Pivot Table but all that happens is the highest value is shown but the remaining 2 product range labels are still visible with just no value.

This is what I have using Top 1 per parent row...
[TABLE="width: 500"]
<tbody>[TR]
[TD]Customer[/TD]
[TD]Product Range[/TD]
[TD]Total Spend[/TD]
[/TR]
[TR]
[TD]Customer 1[/TD]
[TD]Table[/TD]
[TD]5,000[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Chairs[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Accessories[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Customer 2[/TD]
[TD]Chairs[/TD]
[TD]4,500[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Table[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Accessories[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Customer 3[/TD]
[TD]Accessories[/TD]
[TD]2,000[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Chairs[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Tables[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


This is what I want....
[TABLE="width: 500"]
<tbody>[TR]
[TD]Customer[/TD]
[TD]Product Range[/TD]
[TD]Total Spend[/TD]
[/TR]
[TR]
[TD]Customer 1[/TD]
[TD]Table[/TD]
[TD]5,000[/TD]
[/TR]
[TR]
[TD]Customer 2[/TD]
[TD]Chairs[/TD]
[TD]4.500[/TD]
[/TR]
[TR]
[TD]Customer 3[/TD]
[TD]Accessories[/TD]
[TD]2,000[/TD]
[/TR]
</tbody>[/TABLE]

Is this possible?

Any help would be great.
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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