A
Anna
In Excel XP I am trying figure out a better way to replace the PivotCache in
a Pivot Table containing calculated fields and retain the existing
structure. I have noticed that when the pivot table wizard is used to modify
the query, Excel creates a new PivotCache, modifies the existing index to
point to this Pivot Cache and doesn't lose the pivot fields based on
calculated fields.
So far I keep the list of calculated fields and pivot fields information,
create a new Pivot Table with
the PivotCache that I need, replace pivotindex in my original Pivot Table,
restore lost fields and delete the created Pivot Table.
I guess it's rather clumsy way.
Can anyone shed light on how Excel does it or think about more elegant
solution?
a Pivot Table containing calculated fields and retain the existing
structure. I have noticed that when the pivot table wizard is used to modify
the query, Excel creates a new PivotCache, modifies the existing index to
point to this Pivot Cache and doesn't lose the pivot fields based on
calculated fields.
So far I keep the list of calculated fields and pivot fields information,
create a new Pivot Table with
the PivotCache that I need, replace pivotindex in my original Pivot Table,
restore lost fields and delete the created Pivot Table.
I guess it's rather clumsy way.
Can anyone shed light on how Excel does it or think about more elegant
solution?