Jump to content
  • 0

Mixing collapsible with non-collapsible in Pivot Table


Farnsbarnes

Question

I have a simple pivot table with 'Years' field across the top and a 'Regions' field and a 'Countries' field down the side.  The regions field is collapsible, so the User has the choice whether or not to show the countries inside each region.

So far so good.

Problem is that In the regions column I want to be able to show selected regions with the collapsible option, but I also want to show (in the same column) other selected regions which do NOT have the collapsible option and therefore just show the aggregate total of their countries.

I know this is not a regular option, so I'd be willing to use javascript.

Can anyone give guidance on the code to use to access selected fields and records in a pivot table, and also how to apply/remove the 'collapsible' feature at runtime. 

Many thanks

 

 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...