Locked lesson.
About this lesson
Continue learning about how to use Pivot Tables and Pivot Charts to display key metrics.
Exercise files
Download this lesson’s related exercise files.
08-03-Create and Format Pivot Tables and Pivot Charts Part2-Start.xlsx2.2 MB 08-03-Create and Format Pivot Tables and Pivot Charts Part2-Complete.xlsx
2.2 MB 8.03 create-and-format-multiple-pivot-tables-and-pivot-charts - Exercise.docx
124.2 KB Exercise - Create and Format Multiple PivotTables and Pivot Charts Part 2.xlsx
122 KB 8.03 create-and-format-multiple-pivot-tables-and-pivot-charts - Exercise solution.docx
103.8 KB Exercise Solution - Create and Format Multiple PivotTables and Pivot Charts Part 2.xlsx
8.7 MB
Quick reference
Create and Format Multiple Pivot Tables and Pivot Charts: Part 2
Learn how to create and format multiple PivotTables and PivotCharts from one dataset.
When to use
In this context, we create multiple PivotTables and Pivot Charts as part of the preparation phase of building an interactive dashboard.
Instructions
Let's continue building the PivotTables and Pivot Charts to add to our dashboard.
Pivot Chart 3: Total Revenue by Item Type (Bar Chart)
Our next Pivot Chart will show the Total Revenue by Item Type.
- Hold down CTRL and click and drag the 'Avg Sales by Country' worksheet to the right.
- Rename the worksheet, 'Total Rev Item Type'.
- Delete the Map Chart.
- Click in the PivotTable.
- From the PivotTable Fields pane, remove all fields.
- Drag the 'Total Revenue' field to the Values area.
- Drag the 'Item Type' field to the Rows area.
- Apply Number formatting as desired.
Remove the Grand Total
- Click in the PivotTable.
- From the Design tab, in the Layout group, click Grand Totals.
- Select Off for Rows and Columns.
Create the Pivot Chart (Bar Chart)
- From the PivotTable Analyze tab, in the Tools group, click PivotChart.
- Click on Bar.
- Click OK.
Format the Chart
We can now apply formatting as desired. Our dashboard is going to have a dark theme so we will bear this in mind when formatting our Pivot Charts.
- Right-click on the grey field buttons.
- Click Hide all Field buttons on chart.
- Delete the Legend.
- From the Design tab, in the Chart Styles group, select Style 1 from the gallery.
- Click on the bars and press CTRL+1.
- Reduce the Gap Width to 35.
- Add a Chart Title, 'Total Revenue by Item Type'.
- Change the chart color if desired.
- Right-click on the bars and click Add Data Labels.
- Click on the data labels and press CTRL+1.
- From the Data Labels area, expand the Number category.
- From Category, select Custom from the drop-down menu.
- In the Format Code field, type "#,##0,,"M".
- Delete the horizontal axis.
Pivot Chart 4: Profit by Year and Channel (Column Chart)
Create the PivotTable
- Hold down CTRL and click and drag the 'Total Rev by Item Type' worksheet to the right.
- Rename the worksheet, 'Profit by Year and Channel'.
- Delete the Bar Chart.
- Click in the PivotTable.
- From the PivotTable Fields pane, remove all fields.
- Drag the 'Total Profit' field to the Values area.
- Drag the 'Years' field to the Rows area.
- Drag the 'Sales Channel' field to the Columns area.
- Apply Number Formatting as desired.
Create the Pivot Chart (Column Chart)
- From the PivotTable Analyze tab, in the Tools group, click PivotChart.
- Click on 2D Clustered Columns.
- Click OK.
Format the Chart
We can now apply formatting as desired. Our dashboard is going to have a dark theme so we will bear this in mind when formatting our Pivot Charts.
- Right-click on the grey field buttons.
- Click Hide all Field buttons on chart.
- Click the + icon to the right-hand side.
- Click Legend and then Top.
- Click the + icon to the right-hand side.
- Turn on Chart Title.
- Change the title to 'Profit by Year and Sales Channel'.
- From the Design tab, in the Chart Styles group, select Style 12 from the gallery.
- Click on the bars and press CTRL+1.
- Reduce the Gap Width to 35.
- Right-click on the bars and click Add Data Labels.
- Format the data labels as millions.
- Delete the vertical axis.
Login to download
Lesson notes are only available for subscribers.