+ Reply to Thread
Results 1 to 9 of 9

Linking Multiple Page Fields in Pivot Table

  1. #1
    Registered User
    Join Date
    03-01-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    6

    Linking Multiple Page Fields in Pivot Table

    Hi,

    I am trying to ensure that Page Fields in my Pivot Table is linked. Let's say my data as follows:

    Please Login or Register  to view this content.
    When I put Region and Country as my Page Field in the Pivot Table, and select the Region, Asia, I only want to see Japan, Korea, Singapore in my Country Page Field. What it is showing now is all the countries including Germany and Italy even though the region Asia was selected.

    How can this be done and if it requires VBA programming, kindly advice. I am really not familiar with the Excel VBA syntax.
    Last edited by dfs3000my; 03-02-2010 at 05:03 AM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Linking Multiple Page Fields in Pivot Table

    Hi,

    put just Region in the page field, then filter the country in the row field.

  3. #3
    Registered User
    Join Date
    03-01-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Linking Multiple Page Fields in Pivot Table

    Yes that is one alternative but however, my requirement requires both Region and Country to be put as Page Fields. Is there a workaround for this without putting Country to the Row Field?

  4. #4
    Registered User
    Join Date
    03-01-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Linking Multiple Page Fields in Pivot Table

    If this requires VBA programming, should I post this in the VBA programming section instead?

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Linking Multiple Page Fields in Pivot Table

    I will move it for you.

  6. #6
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Linking Multiple Page Fields in Pivot Table

    As you've discovered - dependent Page Fields is not standard functionality and you will need to develop a workaround.

    One possibility discussed previously: http://www.excelforum.com/excel-2007...rill-down.html

  7. #7
    Registered User
    Join Date
    03-01-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Linking Multiple Page Fields in Pivot Table

    Quote Originally Posted by DonkeyOte View Post
    As you've discovered - dependent Page Fields is not standard functionality and you will need to develop a workaround.

    One possibility discussed previously: http://www.excelforum.com/excel-2007...rill-down.html
    Hi DonkeyOte,

    Thanks for your reply. I'm trying to make this work on Excel 2003 though and I can't seem to find the "Retain items deleted from the data source" as mentioned in http://www.excelforum.com/excel-2007...rill-down.html post.

    So far, I'm encountering a problem whenever I choose a different Make as the Models Page Field is not refreshed. Can you highlight me on what I should be doing please?

    I have attached the file for your reference.

    Thanks a bunch!!
    Attached Files Attached Files

  8. #8
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Linking Multiple Page Fields in Pivot Table

    Regards list not refreshing - you need to ensure you're running the file in Auto Calculation mode.

    Regards old items - adapt the code to:

    Please Login or Register  to view this content.
    (the Retain items mentioned in the other post is available 2007 & beyond - prior to that it must be adjusted via code)

  9. #9
    Registered User
    Join Date
    03-01-2010
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Linking Multiple Page Fields in Pivot Table

    Thanks DonkeyOte! Looks like it has solved my woes now. I've set my calculation mode to Automatic and for those who are not sure, you can go to Tools -> Options -> Calculation tab and change the mode to Automatic.

    I have also attached the finalized file for those of you who may want to refer to.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1