Pivot Table Problem

mrowe

Board Regular
Joined
Feb 17, 2002
Messages
232
Hi,

Here's my set up.

Excel 2003

Sheet(1) contains output from an ODBC source that changes montly
Sheet(2) contains a pivot table based on data from Sheet(1)

The "Page" section of the pivot table contains the month numbers. e.g. 7,8,9 from Sheet(1)

What I want is (for this pivot table only) is show only the Max month. e.g. 9 in this example, rather than all 3 months worth of data.

I have tried applying the MAX on the field settings in the pivot table but it doesn't work.

Is there a way I can constrain this either in the worksheet or via vba please.

Thanks
Matt
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.

mrhartley

Well-known Member
Joined
Mar 8, 2005
Messages
564
Hi Matt,

I found out today from Andrew Poulsom (Spelling :oops: ) that you can right click your page element and click field settings.

Then there should be a list of all the months available to that page element which you can select to be hidden.

Any good to you?

Some other bod will have to tell you how to automate it with code.

HTH
~Mark
 

Forum statistics

Threads
1,137,337
Messages
5,680,904
Members
419,939
Latest member
AJWildOne

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
Top