Grouping a Field in a PivotTable Changes Other PivotTable (178767)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q178767 SYMPTOMS
In the versions of Microsoft Excel listed at the beginning of this
article, if you group or ungroup a field in a PivotTable, the same field
may also be grouped or ungrouped in another PivotTable.
CAUSE
This problem will occur if one PivotTable uses another PivotTable as the
source of its data.
Specifically, this problem occurs because, when you create a PivotTable
that uses another PivotTable as the source of its data, both PivotTables
share a common PivotTable memory cache. This cache contains not only the
data used by both PivotTables, but also the settings for the PivotTables,
including grouping settings. As a result, when you group or ungroup a
field in one PivotTable, the same field is grouped or ungrouped in the
other PivotTable.
WORKAROUND
To prevent this problem from occurring, when you create a new PivotTable,
do not use another PivotTable as the source of its data: - On the Data menu, click PivotTable or PivotTable Report.
- In the PivotTable Wizard - Step 1 of 4 dialog box, select one of the
following three option buttons
Microsoft Excel List or Database
External Data Source
Multiple Consolidation Ranges
depending on the location of the source data. - Click Next, and proceed through the remainder of the PivotTable
creation process.
If you have already created the new PivotTable, you must delete the
existing PivotTable, and then create another new PivotTable, using the
steps above.
Note that using this workaround will increase the size of your workbook,
because each PivotTable will have its own PivotTable memory cache.
Note also that if you create a PivotTable that uses the same source data
as another PivotTable, but you do not use the other PivotTable as the
source of the data, you may receive an alert message similar to the
following:
Your new PivotTable will use less memory if you base it on your
existing PivotTable [<WorkbookName>]<SheetName>!<PivotTableName>,
which was created from the same source data. Do you want your new
PivotTable to be based on the same data as your existing PivotTable?
If you click Yes, the new PivotTable will use the old PivotTable as the
source of its data, and the problem described above will occur. If you
click No, the new PivotTable will use its own PivotTable memory cache, and
the problem described above will not occur.
STATUS
This behavior is by design of the versions of Microsoft Excel listed at
the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 8/17/2005 |
---|
Keywords: | kbprb kbprb KB178767 |
---|
|