Locked lesson.
About this lesson
Use Copilot's analyze data prompts to create Pivot Tables and Pivot Charts.
Exercise files
Download this lesson’s related exercise files.
2.06 create-charts-and-pivot-tables - Exercise.docx92.9 KB 2.06 create-charts-and-pivot-tables - Exercise solution.docx
136.5 KB 02-06-Insert Pivot Tables and Pivot Charts-Start.xlsx
774.3 KB 02-06-Insert Pivot Tables and Pivot Charts-Finish.xlsx
1,002.1 KB 02-06-Sales Data Exercise-Start.xlsx
20.2 KB 02-06-Sales Data Exercise-Finish.xlsx
34.1 KB
Quick reference
Create Pivot Tables and Pivot Charts
Ask Copilot to analyze a dataset and create a Pivot Table and Pivot Chart.
When to use
We use Pivot Tables and Charts whenever we want to quickly analyze a dataset and gain insight into key metrics.
Instructions
Copilot's 'Analyze Data' facility allows us to quickly create Pivot Tables and Pivot Charts.
Let's set up the scenario. Our manager has asked us to create a report that shows the total sales by invoice data and product.
Create a Pivot Table
- Open Copilot.
- Type the prompt: 'Create a Pivot Table that shows the total sales by invoice data, total sales and product'.
- Press Enter.
Copilot will create a Pivot Table based on our prompt.
- Click Add to a new sheet.
A new worksheet will be created and the Pivot table added. We can now format the Pivot Table as we usually would using the Design and Pivot Table Analyze ribbons.
Change the Grouping
In this example, Copilot has listed the full dates in the columns. We can change this grouping to only show the summary by years.
- Click the PivotTable Analyze ribbon.
- In the Group group, click Group Field.
- Deselect everything except Years.
NOTE: To see just the months, choose Months. We can also modify the grouping by dragging the fields we don't need out of the columns area in the PivotTable Fields pane.
Create a Pivot Chart
Now our manager has asked us to create a Pivot Chart that shows the count of total sales by region.
- Type the prompt: 'Create a Pivot Chart that shows the count of Total Sales by Region'.
- Press Enter.
In this instance, Copilot is suggesting a bar chart.
- Click Add to a new sheet.
Copilot will add both the Pivot Chart and the associated Pivot Table to a new worksheet.
Hints & tips
- It's always best to use column names instead of column references in our prompts e.g. 'Region' instead of 'Column C'.
Lesson notes are only available for subscribers.