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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
azmatkhan
New Member

Remove duplicates based on a condition in other columns

My data contains duplicates but there is a some difference in the data in the duplicate rows. I want to remove only selected rows based on the data in selected columns. eg. Column A is "reporting district" and Column B is "resident district" and so on. All these columns are the same in the duplicate data but Column X to Column Z are different in that these columns are blank in one row and filled in other. Now I want to remove the row that is blank and keep the one that is filled. 

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @azmatkhan ,

Have created a table like this:

vyingjl_0-1639720386718.png

Set the filter condition:

vyingjl_1-1639720446336.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yingjl
Community Support
Community Support

Hi @azmatkhan ,

Have created a table like this:

vyingjl_0-1639720386718.png

Set the filter condition:

vyingjl_1-1639720446336.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

smpa01
Super User
Super User

@azmatkhan  provide sample data and expected output

 

How-to-Get-Your-Question-Answered-Quickly 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors