Create dynamic charts by using PivotCharts
Creating dynamic charts using PivotCharts in Excel is a powerful way to visualize data that updates automatically when your PivotTable changes. Here’s how to create and use PivotCharts step by step:
✅ What Is a PivotChart?
A PivotChart is a chart that’s directly linked to a PivotTable, so it updates dynamically when:
- You filter or change fields in the PivotTable.
- The underlying data is refreshed.
🛠 How to Create a PivotChart
📌 Step 1: Create or Select a PivotTable
If you don’t already have one:
- Select your data and go to Insert → PivotTable.
- Choose where to place it, then click OK.
📊 Step 2: Insert a PivotChart
- Click anywhere inside your PivotTable.
- Go to the PivotTable Analyze tab (or Analyze tab).
- Click PivotChart (in the Tools group).
- Choose a chart type (e.g., Column, Line, Pie, etc.).
- Click OK.
A dynamic chart linked to your PivotTable is created.
🧩 Step 3: Customize the Chart
- Use the Field List to drag fields between Rows, Columns, Values, and Filters.
- Filter the data using:
- PivotTable filters
- Chart filter buttons (top-right corner of the chart)
- The chart updates instantly with your changes.
🔁 Keep the Chart Dynamic
- If your PivotTable is based on a Table (using
Ctrl + T), adding new data to the table and refreshing the PivotTable will also update your PivotChart. - To refresh:
- Click the chart or PivotTable → go to PivotTable Analyze → click Refresh.
🖌️ Optional: Format Your PivotChart
- Click chart elements to format them (e.g., titles, legends, data labels).
- Use the Chart Design and Format tabs to apply styles and layout options.
💡 Example Use Case:
You have a PivotTable that summarizes sales by product and region. A PivotChart can visually show:
- Total sales per region (bar chart)
- Sales trends over time (line chart)
- Sales distribution by product category (pie chart)