Skip to content
DataUntangler
Buy the plan

One file free to try, no card. Already have an account? Log in.

Power Query Remove Duplicates or a Dedicated Customer List Tool

Power Query Remove Duplicates only drops rows whose selected columns match exactly, and a messy customer list needs more than that. Here is where it stops, with a worked example and a plain buying test.

Published 29 November 2026 7 min read Written by the DataUntangler team

Power Query Remove Duplicates deletes rows where the columns you select hold identical values, and it keeps the first row of each set. That is the right tool for a table with true repeats, and it is repeatable, because the step is saved in the query. It will not group Redwood Supply Co and Redwood Supply Co. as one customer, and it will not tell you what it removed.

This article covers what Remove Duplicates sees in a customer list, how many separate steps a small messy CSV needs, and the point at which a dedicated tool such as DataUntangler costs less than the hours spent building queries.

What Power Query Remove Duplicates does and does not compare

Power Query is the data preparation engine behind Get and Transform in Excel and Power BI, described in the Microsoft Power Query documentation. Remove Duplicates works on the selected columns and compares the values as they are, including case and spacing.

On a customer list that means Redwood Supply Co, Redwood Supply Co. and redwood supply co are three rows. Add a Trim and a lowercase step first and the first and third collapse, but the period still keeps the second apart. Each fix is another step you write for a variant you have already seen.

Exact values only

Remove Duplicates has no notion of similar. A suffix, a typo or an abbreviated word makes a new row.

One column set per step

It checks the columns you select. A shared email on two rows with different names is not a match unless you select email alone.

No reason, no review

The rows leave the table with no list of what went. You compare row counts and trust the step.

Repeatable

This is its strength. The same query runs again on next month export, which a one-time cleaning tool does not do for you.

Power Query has fuzzy matching, so why buy a tool

It does. The Merge Queries step can use fuzzy matching with a similarity threshold, and Microsoft documents it under fuzzy matching in Power Query. It is built for joining two tables, such as a list of names against a master list, not for grouping the rows of one table into duplicate sets.

You can make it work for deduplication by merging a table with itself, and many analysts do. You then own the threshold, the extra columns it adds and the question of which row survives. It still does not show a reason per pair or write a change log, and you build and maintain all of that yourself.

The seven steps a six row CSV needs

We ran the DataUntangler engine on an invented six row customer CSV with a contact, email, ZIP, order total, order date and state column. It proposed twenty changes across seven kinds of fix: encoding repair, leading zeros, currency, dates, state names, whitespace and email casing.

In Power Query each kind is its own step, and each has a catch. The table lists what you would build and where it bites.

Problem in the file Power Query step you build Where it bites
Muñoz in a name Replace Values per bad sequence, or set the file origin on import Every new bad sequence needs another replace, and a file already saved wrong is not fixed by origin
ZIP 2134 should be 02134 Custom column with Text.PadStart to five digits Only right for five digit ZIPs, and the column must be text first
$1,250.00 and 980 in one column Replace the dollar sign and comma, then change type Locale decides how 1,250 and 1.250 are read
03/04/2026 next to 5-Mar-26 Change type with a locale The first value is March 4 in the US and April 3 elsewhere, so the locale is a guess for the whole column
Mass., Massachusetts, MA Merge with a state lookup table you maintain You build the table and every spelling in it
Dan Whitaker Trim and Clean transforms Trim does not collapse the double space inside the name
DWhitaker@Birchfield.example Lowercase transform on the email column Fine, one step

Seven steps for six rows is not an argument against Power Query. The steps are reusable, and once built they run on every file with the same layout. The cost is the first build, plus the day a new export arrives with a column renamed or a date style you did not plan for.

DataUntangler proposed the same twenty changes without any setup, each as a line with the rule and a confidence label, and three of the four date changes came back as likely because the day and month order is ambiguous. That label is the part a query does not give you. It is a first pass you review, not a guarantee.

Which row survives, and what that costs you

Remove Duplicates keeps the first row it meets in each set and drops the rest. On a customer list that decision matters more than it sounds. If the first Pioneer Print row has an empty phone cell and the second has the number, the number goes with the dropped row.

The usual fix is to sort first so the most complete row comes up on top, for example by a helper column that counts filled cells. That works, and it is one more step to write and to remember. It also means the answer to which row won depends on a sort you did earlier and may not recall in March.

In DataUntangler a group of lookalike rows is shown together. Empty cells are filled from the other rows in the group, and where two rows hold different values both are written to the change log, so nothing is dropped silently. The fill is a proposed change like any other, and you accept or reject it.

A consultant with a new client file every week

Take someone who receives a customer export from a different client each week, 5,000 to 30,000 rows, from three different CRMs. A query built for the first client breaks on the second, because the columns are named differently and the date style changes. Each new layout is a half day of query work, and the client wants the file back by Friday.

That person gains little from reuse, because nothing repeats, and gains a lot from a pass that needs no setup and produces a log to attach to the delivery. The same person with one internal sales export every Monday is the opposite case, and Power Query is the better home for that job.

A buying test for your own list

Stay in Power Query when the same file layout comes in every week, you are comfortable maintaining queries, and the duplicates are exact. The reuse is worth more than any tool.

Buy a tool when files come from different clients or systems, when duplicates are spelling variants, or when someone will ask you to prove what changed. A consultant who cleans a new client CSV every Tuesday spends the saved hours on the first afternoon alone.

Analyst on DataUntangler is $59 a month, or $348 a year, for one person and files up to 100,000 rows. There is no free plan, and the browser demo runs a real pass on your own file first. The CSV cleaner page shows the same six row run in full, and the Excel duplicate checker covers matching.

What to do next

Take a file you cleaned last month and count the manual steps it took. If the number is above five and the next file will differ, a reviewed pass saves the time. The wider comparison of options is in best data cleaning tools, and the Excel only view is in remove duplicates in Excel.

The file is still messy after the article

Load it into the demo and see every duplicate, every broken date and every mangled character as a line you can approve or reject.

No card required. Your file never leaves your computer.

Clean a file