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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

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
Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.