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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
clarainesgg
Helper I
Helper I

Remove Duplicates based on all the tables

Hi,

 

 

I need to remove duplicates for the entire table as in Excel. Is it possible? I tried removed duplicates, selecting the entire table

 

clarainesgg_0-1725979414128.png

 

 

Hower, then it shows in red.

 

Also is it possible to see which duplicates the query delete?

 

Thanks,

 

Clara

3 REPLIES 3
v-denglli-msft
Community Support
Community Support

Thanks for @Greg_Deckler 's reply.
Hi @clarainesgg ,


Are there any duplicate rows in your table?

 

If the table does not have any duplicate rows, whether you use Remove Duplicates in Power Query to de-duplicate the entire table or DAX: DISTINCT(Table).
Neither of these will work.


Best Regards,
Dengliang Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

clarainesgg
Helper I
Helper I

yes, i did that. However, it doest work:

clarainesgg_1-1725981079107.png

 

 

Greg_Deckler
Super User
Super User

@clarainesgg If you select the first column, hold down shift and select the last column and then right-click and remove duplicates, it should remove duplicate rows. I don't believe it is possible to see which duplicates the query removed. The step in Advanced Editor is:

 

#"Removed Duplicates" = Table.Distinct(#"Changed Type")



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

Top Solution Authors