To work around this problem, use either of the following methods.
Method 1: Use a PivotChart
When creating a chart based on data in a PivotTable report, use a PivotChart instead. To do this, select a cell in the PivotTable and click the
Chart Wizard button on the PivotTable toolbar. Excel will create a new PivotChart on a new chart sheet. You can then use the drop-down list boxes in either the PivotChart or PivotTable to select and clear (check and uncheck) the data to be shown on the PivotChart and PivotTable.
Method 2: Type the New Reference
To change the data range in an existing chart, you cannot select a range of cells inside a PivotTable report. Instead, you must type the range in the
Data range box. To change the data range, follow these steps:
- Click your Chart. On the Chart menu, click Source Data.
- Click in the Data range box, and press F2 to enter edit mode. Change the reference and click OK.