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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
PowerBIspeed
Frequent Visitor

Remove rows based different columns

Hi,

 

I have a table with a lot off records(rows) which have to removed or filterd from the table based on 3 colums.

Example:

There are two records where column A, B and C are equal, then they have to be removed or filterd out.

Is this possible ?

 

 

1 ACCEPTED SOLUTION
tackytechtom
Most Valuable Professional
Most Valuable Professional

Hi @PowerBIspeed ,

 

If you'd like to remove all rows that exist more than once, here another approach:

tomfox_3-1657809035965.png

 

Select all columns you'd like to check for duplicates, right click and click Group By:

tomfox_4-1657809096137.png

 

 

Choose the following settings:

tomfox_5-1657809126898.png

 

 

Then filter for the ones that are lower than 2:

tomfox_6-1657809194814.png

tomfox_7-1657809217635.png

 

 

The result:

tomfox_8-1657809240184.png

 

 

Let me know if this helps 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/

 



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

View solution in original post

6 REPLIES 6
PowerBIspeed
Frequent Visitor

Sorry, my mistake but I explained it wrong.

I want to remove the record where Column A in record 1 and 2 are equal, Column Bin record 1 and 2 are equal and Column c in record 1 and 2 are equal.  when in both records the all the 3 Columns are Equal remove the records

 

PowerBIspeed_0-1657805208406.png

 

tackytechtom
Most Valuable Professional
Most Valuable Professional

Hi @PowerBIspeed ,

 

If you'd like to remove all rows that exist more than once, here another approach:

tomfox_3-1657809035965.png

 

Select all columns you'd like to check for duplicates, right click and click Group By:

tomfox_4-1657809096137.png

 

 

Choose the following settings:

tomfox_5-1657809126898.png

 

 

Then filter for the ones that are lower than 2:

tomfox_6-1657809194814.png

tomfox_7-1657809217635.png

 

 

The result:

tomfox_8-1657809240184.png

 

 

Let me know if this helps 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/

 



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

Hi Tom,

 

This solution worked for me. Thanks a lot.

 

tackytechtom
Most Valuable Professional
Most Valuable Professional

Hi @PowerBIspeed ,

 

Ok, how about this:

tomfox_0-1657808689569.png

 

After:

tomfox_1-1657808715176.png

 

Mark all the column you wish to check for duplicates. Then right click and click on remove duplicates:

tomfox_2-1657808772224.png

 

Note, this approach does onoy remove one of the duplicates

 

Let me know if this solves your issue 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/

 

 

 

 

 



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

tackytechtom
Most Valuable Professional
Most Valuable Professional

Hi @PowerBIspeed ,

 

In Power Query, you could create an additional column with all your filter requirements. Here an example of filtering all the rows that have the same value in all three columns:

tomfox_0-1657792308560.png

 

Create a new column:

tomfox_2-1657792599076.png

 

 

Filter out all the ones that have 1 in the new column:

tomfox_3-1657792658450.png

 

Done:

tomfox_4-1657792674494.png

 

Let me know if this helps 🙂

 

/Tom
https://www.tackytech.blog/
https://www.instagram.com/tackytechtom/

 



Did I answer your question➡️ Please, mark my post as a solution ✔️

Also happily accepting Kudos 🙂

Feel free to connect with me on LinkedIn! linkedIn

#proudtobeasuperuser 

PC2790
Community Champion
Community Champion

Hey @PowerBIspeed ,

 

See if this thread caters to your requirement.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors