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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors