Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Dynamic PageField Items

I am trying to build a pivot table/chart in which the PageFields will only
list the remaining or available PageFieldItems after other choice
PageField--constraints--are applied.

For example:
Having the PageFields:
Baseball Teams
Players
And when a specific team is chosen only players on that specific team are
shown.


Brain Storm:

My thought is to build a combo/dropdown box to replicate the page field and
then take the values assigned to that and then do a custom filter to develop
a new list which subsequently populates the combo/dropdown box. Meanwhile
take any choice values and apply them toward pivot table/chart build.

Does anyone have any ideas? Am I reinventing the wheel?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default Dynamic PageField Items

here's a worksheet tip that might help.
Once you have your pivot, select a cell immediatelyto the right of the
column headers, then hold down control and select the header cells to the
left, now add an autofilter. Works on the pivot as if it were a regular table.

"DynamiteSkippy" wrote:

I am trying to build a pivot table/chart in which the PageFields will only
list the remaining or available PageFieldItems after other choice
PageField--constraints--are applied.

For example:
Having the PageFields:
Baseball Teams
Players
And when a specific team is chosen only players on that specific team are
shown.


Brain Storm:

My thought is to build a combo/dropdown box to replicate the page field and
then take the values assigned to that and then do a custom filter to develop
a new list which subsequently populates the combo/dropdown box. Meanwhile
take any choice values and apply them toward pivot table/chart build.

Does anyone have any ideas? Am I reinventing the wheel?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default Dynamic PageField Items

I appreciate the tip. Autofilter work on the pivot tables as if they are a
regular table. That was one of the ideas that I tried out however
PivotTables aren't like regular tables in that not all data is visible.
AutoFilter requires a list of data and then it summarizes the list and
enables you to filter along that criteria. PageFieldItems have an invisable
list--PivotCache--and thus filtering by cell contents has no impact on the
other PageFieldItems.

Also AutoFilters don't like working with segmented ranges so I think you
meant to hold down the SHIFT button.

So that is what brings me back to square one. I think I am going to have to
re-engineer a pivot table-esque form that will actually filter on a
high--page--level as well as on the column and row level.

I really appreciate the tip. I keep thinking there should be some little
nifty trick already build in to some option menu or something that would
solve this.

Thanks
-D



"Patrick Molloy" wrote:

here's a worksheet tip that might help.
Once you have your pivot, select a cell immediatelyto the right of the
column headers, then hold down control and select the header cells to the
left, now add an autofilter. Works on the pivot as if it were a regular table.

"DynamiteSkippy" wrote:

I am trying to build a pivot table/chart in which the PageFields will only
list the remaining or available PageFieldItems after other choice
PageField--constraints--are applied.

For example:
Having the PageFields:
Baseball Teams
Players
And when a specific team is chosen only players on that specific team are
shown.


Brain Storm:

My thought is to build a combo/dropdown box to replicate the page field and
then take the values assigned to that and then do a custom filter to develop
a new list which subsequently populates the combo/dropdown box. Meanwhile
take any choice values and apply them toward pivot table/chart build.

Does anyone have any ideas? Am I reinventing the wheel?

  #4   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 866
Default Dynamic PageField Items

I am trying to do the same thing with a pivot table. I can get the first
pagefield to change but my code won't go further. Did you get your pivot
table to work and if so how?

"DynamiteSkippy" wrote:

I am trying to build a pivot table/chart in which the PageFields will only
list the remaining or available PageFieldItems after other choice
PageField--constraints--are applied.

For example:
Having the PageFields:
Baseball Teams
Players
And when a specific team is chosen only players on that specific team are
shown.


Brain Storm:

My thought is to build a combo/dropdown box to replicate the page field and
then take the values assigned to that and then do a custom filter to develop
a new list which subsequently populates the combo/dropdown box. Meanwhile
take any choice values and apply them toward pivot table/chart build.

Does anyone have any ideas? Am I reinventing the wheel?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table calculated items with dynamic file source [email protected] Excel Programming 0 June 9th 05 05:54 PM
Retrieve Value from a PageField kf[_2_] Excel Programming 1 May 6th 05 08:44 PM
About PageField Polly[_3_] Excel Programming 6 June 3rd 04 05:46 PM
Dynamic Selection of Pivottable Drop Down Items Pat[_8_] Excel Programming 0 November 7th 03 10:01 PM
Members in a PageField Rickard Excel Programming 1 October 14th 03 03:08 PM


All times are GMT +1. The time now is 09:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"