Stop new possible values being auto added to Pivot Table Filters

Wolfsbane2k

New Member
Joined
Dec 5, 2013
Messages
11
HI.

I'm currently running a number of pivot tables that are used to extract data for the generation of graphs showing daily progress.

To do this, i have a report filter that is used to limit the scope of the pivot table.

However, i'm finding that i have to re-apply the filter whenever a new possible value is added, meaning for my 40+ pivot tables i have to manually intervene each day, which is very annoying!

How can i stop new values automatically contributing to the table, (This is assuming PT covers a larger range than just the data to allow expansion)

Example:
First Data point:
Code:
Raw Data:                   PT:
                                 Report Filter: L  Multiselect, A, C
 N,L, Country,               Count Number of Instance:
1, A, France                 France: 2
2, A, France                 England: 1
3, B, France                 Grand Total: 3
4, B, Germany 
5, C, England
Add a new data point 6 , don't change the PT;
Code:
Raw Data:                   PT:
                                 Report Filter: L  Multiselect, A, C [D] <- WHY! I didn't select this!
 N,L, Country,               Count Number of Instance:
1, A, France                 France: 3
2, A, France                 England: 1
3, B, France                 Grand Total: 4
4, B, Germany 
5, C, England
6, D, France

Since D wasn't explicitly included in the original multi select, it shouldn't now be added to the France Total, but it is :grr:
I know i can VBA it, but is there an easier way rather than write more code to refresh each PT seperately each and every day?

Ta
 
Last edited:

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,216,146
Messages
6,129,142
Members
449,488
Latest member
qh017

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