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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
jleibowitz
Regular Visitor

Removing rows based on a set of conditions

I am trying to remove rows of data that show duplicate information. However, the rows I would like to remove would need to be based on a set of conditions. For example, I have a set of customer data and would like for duplicates to be removed if the customer full name AND the customer address are both the same. I know you can remove rows in query editor but from the looks of it you can only remove duplicates based on a single column and that would not work. Thanks!

1 ACCEPTED SOLUTION
Hasan
Resolver I
Resolver I

You can select the multible colums in Query Editor mode and remove the dblicates also

View solution in original post

5 REPLIES 5
jleibowitz
Regular Visitor

Thank you for the the help. All solutions worked and are used in different scenarios.

Hasan
Resolver I
Resolver I

You can select the multible colums in Query Editor mode and remove the dblicates also

Greg_Deckler
Community Champion
Community Champion

Create a new column that concatenates your two columns, use that to remove duplicates.



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!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

This doesn't work for me as what I have to concatenate is a date (24/07/2017) a number (1234) and a town (London) 

It works in dax but doesn't in power query

vanessafvg
Community Champion
Community Champion

@jleibowitz you can highlight the columns you want to remove duplicates, right click and boom  remove duplicates in M (power query)





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.