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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
donodackal
Helper I
Helper I

How to remove/filter out rows on the condition that every column for both rows have matching data?

Hi there, I receive weekly reports from our travel providers that I consolidate using power query. I find that there are some rows between several weekly reports that duplicate the same information. Is there a step I can add in the power query after consolidating all data to filter or remove any duplicate row only if data in all columns match another row? 

 

Please let me know if additional info is required. The below table is for illustration of the issue:

donodackal_0-1647317285365.png

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION
Thingsclump
Resolver V
Resolver V

Hi @donodackal 

 

In powerquery editor, select columns A to G and remove duplicates. It will remove duplicates if values in all columns are repeated. 

 

Thanks

View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @donodackal 

 

@Thingsclump 's solution should work, have you tried that?

 

Below are detailed steps:

1. Hold press on Shift or Ctrl key and click on column headers to select all columns.

2. Go to Home > Remove Rows > Remove Duplicates.

vjingzhang_1-1647582709166.png

 

You can also enter = Table.Distinct(#"Previous step name") in the formula bar to add a step to remove duplicated rows in the whole table. 

vjingzhang_0-1647582659329.png

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

Thingsclump
Resolver V
Resolver V

Hi @donodackal 

 

In powerquery editor, select columns A to G and remove duplicates. It will remove duplicates if values in all columns are repeated. 

 

Thanks

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors