

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 2
click for more info
Not enough gems
Cost: 6 gems
1: Power Query
incomplete
2: Python Scripts in Power Query
incomplete
3: Removing Duplicates
incomplete
4: Split a Column
incomplete
5: Merging Columns
incomplete
6: Missing Values
incomplete
7: Performance Considerations
incomplete
8: Data Refresh
incomplete
9: Data Refresh
incomplete
10: Formatting
incomplete
11: Filters
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
Duplicate rows can sneak into your dataset from joins, imports, or simple data entry errors. They can:
Cleaning them ensures that every record represents a unique piece of data, so it's best to clean them up early in Power Query.
I like to remove duplicates after importing but before merging or appending any data. This keeps your transformations clean and avoids spreading duplicate data further down the pipeline.
Take a good look at our sales.csv data – it has duplicate rows! We have multiple rows with an id of 6, and there are likely others besides! Let's fix it!
When removing duplicates, make sure that column(s) you select truly identify a unique record, otherwise, you might accidentally remove useful data.
Save the project and, from the course directory, submit the CLI tests.