Set default expand/colapse state on pivot tables

Posted by CLockeWork on Super User See other posts from Super User or by CLockeWork
Published on 2014-06-03T14:30:59Z Indexed on 2014/06/03 15:32 UTC
Read the original article Hit count: 307

The Setup
I have a pivot table in tabular form pulling data from an Analysis Services Cube.

I want to calculate the number of days between two dates, but the setup will only allow me to pull in all date elements, not just the date. I’ve been able to deal with this easily enough by just grouping all the columns: Screenshot


The Problem
The default state for the expand/collapse buttons in the image above is often collapsed, but that means the dates I need aren’t there and you have to open the group and manually expand them.

This also happens in some random ways (as shown in the image) where only some rows expand.


The Question
I need a way to set these sections to always be expanded, so that the user never has to open the group to expand the rows. Ideally I’d like to avoid VBA because our end users often block it, but if that’s what’s needed then so be it.

Is there a way to set my pivot table to never collapse it’s predefined groups?


Note
the end user is using Excel 2010

© Super User or respective owner

Related posts about microsoft-excel

Related posts about microsoft-excel-2010