

When you’re done, the dialog should look like this:Īnd upon clicking OK, the results will show that there are, indeed, items that show up more than once: New column name: Duplicates –> All Rows.Next, click the + to the right of the “New Column Name” section to add another detail row. New column name: Duplicates –> Count Rows.NOTE: We cover the Grouping feature in Chapter 14 of M is for Data Monkey. The trick here is to use the Group By feature in Power Query, while preserving the relevant matching records.

Step 2: Indentify Duplicates via Grouping Rows
EXCEL FIND DUPLICATES ONE COLUMN HOW TO
Now we need to figure out how to flag any repeating SKU as a duplicate. To to Add Column –> Add Index Column –> From 0.The reason will become apparent later, but for now: This might seem like an odd step right now, but we’re going to add a Index column to this table as well. Changed Type (setting the data types for the columns).The data will be loaded in to Power Query, and you’ll see two steps in the Applied Steps window: Of course we’ll start by pulling the data in to Power Query I’m carving off one method that is the easiest to replicate via the user interface… Step 1: Link to the Data Naturally, there will be a few different ways to do this. Instead you’d like to identify which records have duplicate entries in the list. While it would be easy to just hit the SKU column with the Remove Duplicates function, you don’t want to do that. While the list provided to you was supposed to be duplicate free, you’re not 100% sure that it actually is. While multiple brands are okay here, we need a list that shows only unique SKU numbers. Suppose someone has given you a list like the one shown below (which you can download here if you’d like to follow along):

Some time ago I got an email from Alex asking me if there was a way to identify duplicates using Power Query, but without removing non-duplicate records in the process.
