How to Reduce Filtered Results in Pivot Table??

clayjm

New Member
Joined
Oct 15, 2015
Messages
2
I feel like this should be an automatic feature in a pivot table. If I'm viewing a normal table of data with a filter, the results are reduced based on filter for other fields. See the simple example below.

Z


If I filter on the month of Jan, and then click on then click on the drop down for SalesRep, I'm only given the three names that apply to that month as an option:

Z



9k=


As you can see, "Sam" is not an option because the name does not exist for Jan. However, if I use a pivot table based on the original data, the pivot table will show all the names, even when filtered just on Jan.

Z


As you can see in the pivot table above, Sam still shows even though the name doesn't even appear in the data set that I'm filtered on. Is there a way to change the Pivot Table setting to reduce the available options based on the data that exists on the filtered view like it does in a standard table filter? Thanks!
 
Last edited:

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
(Sorry, the images are not working for me… not sure how to attach screenshots. Here is the table example)

I feel like this should be an automatic feature in a pivot table. If I'm viewing a normal table of data with a filter, the results are reduced based on filter for other fields. See the simple example below.

[TABLE="width: 285"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Month[/TD]
[TD]SalesRep[/TD]
[TD] Sales [/TD]
[/TR]
[TR]
[TD]Jan[/TD]
[TD]Bob[/TD]
[TD] $ 500.00[/TD]
[/TR]
[TR]
[TD]Feb[/TD]
[TD]Bob[/TD]
[TD] $ 300.00[/TD]
[/TR]
[TR]
[TD]Jan[/TD]
[TD]Sue[/TD]
[TD] $ 200.00[/TD]
[/TR]
[TR]
[TD]Feb[/TD]
[TD]Sue[/TD]
[TD] $ 400.00[/TD]
[/TR]
[TR]
[TD]Mar[/TD]
[TD]Sue[/TD]
[TD] $ 700.00[/TD]
[/TR]
[TR]
[TD]Jan[/TD]
[TD]Fred[/TD]
[TD] $ 100.00[/TD]
[/TR]
[TR]
[TD]Mar[/TD]
[TD]Fred[/TD]
[TD] $ 500.00[/TD]
[/TR]
[TR]
[TD]Mar[/TD]
[TD]Sam[/TD]
[TD] $ 600.00[/TD]
[/TR]
</tbody>[/TABLE]


If I filter on the month of Jan, and then click on then click on the drop down for SalesRep, I'm only given the three names that apply to that month as an option:

As you can see, "Sam" is not an option because the name does not exist for Jan. However, if I use a pivot table based on the original data, the pivot table will show all the names, even when filtered just on Jan.

As you can see in the pivot table, Sam still shows even though the name doesn't even appear in the data set that I'm filtered on. Is there a way to change the Pivot Table setting to reduce the available options based on the data that exists on the filtered view like it does in a standard table filter? Thanks!
 
Upvote 0

Forum statistics

Threads
1,223,719
Messages
6,174,089
Members
452,542
Latest member
Bricklin

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