Chart a PivotTable with a PivotChart
More from PivotTables8 minPremium
Builds on Rearrange a PivotTable with Rows, Columns and Filters and Show a trend with a line chart.
A marketing analyst in Seattle sends a chart of leads by month every Monday. She rebuilds it from a copy of the PivotTable each time, and each time someone asks to see one region only.
How it works
A PivotChart is a chart drawn from a PivotTable, and the two stay linked. Click a cell in the PivotTable, choose PivotTable Analyze > PivotChart, pick a chart type and click OK. Insert > PivotChart does the same, and with a cell of a plain list selected, it builds a PivotTable and its chart together. On a Mac, make the PivotTable first, then insert a chart with a cell of it selected.
The chart follows the PivotTable's layout, as the table below shows. When the chart is selected, the field pane calls the areas Axis (Categories) and Legend (Series).
| PivotTable area | In the PivotChart |
|---|---|
| Rows | The labels along the axis |
| Columns | One series per item, named in the legend |
| Values | The height of each column or point |
| Filters | A filter button on the chart |
Filter, sort or slice the PivotTable and the chart changes with it, and the other way round. The chart leaves the Grand Total out. To hide the field buttons on the chart before you share it, use PivotChart Analyze > Field Buttons.
You can use most chart types, but not scatter, bubble or stock charts.
Example
The analyst's PivotTable has Month in Rows, Region in Columns and Sum of Leads in Values. Its PivotChart, a line chart, runs the months along the axis with a line for each region. A Region slicer now filters the PivotTable and the chart at once, so the Monday request takes one click.
Common mistakes
- The field you want along the axis sitting in Columns. The chart draws its items as separate series. Drag it to Rows.
- A pie chart with a field in Columns. A pie draws one series only, so the other items disappear from it.
- Field buttons left on a chart you print or paste into a report. Hide them with Field Buttons.
In short
- PivotTable Analyze > PivotChart draws a chart that stays linked to its PivotTable.
- Rows run along the axis and Columns become the series. Filters and slicers change both.
- A PivotChart leaves out the Grand Total, and can't be a scatter, bubble or stock chart.
Practice
Premium4 exercises: 1 PivotTable, 1 chart, 1 quiz question and 1 find-it task.
Practice is part of Premium
Every lesson is free to read, and you can practice the free lessons without an account. This lesson's exercises are part of Premium, which you add to a free account.
Have one? Sign in