Power Query – Summary and Exercises
Module 6: Summary and Final Exercises
Objective
In this final module, you'll apply the knowledge from previous modules in a guided challenge. The goal is to consolidate your skills using real-world data transformation scenarios.
Files Used
Final Exercise – Sales Data Cleanup and Analysis
Goal: Combine two months of sales data, clean it, and calculate total revenue per region.
Steps:
- Load both Sales_January.xlsx and Sales_February.xlsx into Power Query
- Combine them using Append Queries
- Remove unnecessary columns
- Ensure data types are correct (e.g. Date, Text, Whole Number)
- Group data by Region and calculate total sales
- Sort results by descending revenue
Final Exercise – Employee Filtering and Export
Goal: Filter active employees from the HR system and export the data.
Steps:
- Load Employees.csv into Power Query
- Remove unnecessary columns
- Filter rows where Status equals Active
- Rename columns as needed
- Load the cleaned data into a new worksheet
Optional Bonus Task
Try to convert the combined sales data to a PivotTable using Power Pivot:
- Load the combined query to the Data Model
- Add a calculated measure (e.g. Total Revenue)
- Use PivotTable to analyze revenue by Region and Product
Return to Main Page