Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
anthonymachado
Frequent Visitor

Remove duplicates bug

I have a table of addresses and I want to run Remove Duplicates on the ID column:

anthonymachado_0-1770149278060.png

 

If I filter for address 743786 afterwards, it doesn't appear.

anthonymachado_1-1770149338398.png

 

However, if I filter the address before the dedupe, it shows that there is only one address with that ID, and the deduplication step leaves it alone:

anthonymachado_2-1770149430493.png

anthonymachado_3-1770149473826.png

 

Is this a bug?

 

1 ACCEPTED SOLUTION
GeraldGEmerick
Super User
Super User

@anthonymachado Probably not a bug. Power Query Editor displays a preview of 1000 rows so for whatever reason the ID is in that 1000 row preview before the dedupe but not after it. Likely a sorting thing going on.

View solution in original post

4 REPLIES 4
v-veshwara-msft
Community Support
Community Support

Hi @anthonymachado ,

Just checking in to see if you query is resolved and if any responses were helpful.
Otherwise, feel free to reach out for further assistance.

Thank you.

v-veshwara-msft
Community Support
Community Support

Hi @anthonymachado ,

Thanks for reaching out to Microsoft Fabric Community.

Just wanted to check if the responses provided were helpful. If further assistance is needed, please reach out.
Thank you.

MasonMA
Super User
Super User

Hi, 

 

Power Query’s preview 1000 row limit will not cause Table.SelectRows to return an empty table.

 

Your 'ID' column has '1.2' icon, which means the column’s data type is Decimal Number (type number), not Whole Number, so even if every value looks like 743786, Power Query is treating it as a floating-point number.

 

My suggestion would be converting your data in 'ID' column to whole number type before having another try. 

GeraldGEmerick
Super User
Super User

@anthonymachado Probably not a bug. Power Query Editor displays a preview of 1000 rows so for whatever reason the ID is in that 1000 row preview before the dedupe but not after it. Likely a sorting thing going on.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors