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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
lennox25
Post Patron
Post Patron

Identifying duplicates/matches in same row from 2 columns

Hi. 

 

I have a table. I need to be able to filter out the matches against non matches and conditionally format the 'True'

 Here is my table.

lennox25_2-1714485317246.png

and this is the result I would like to acheive

lennox25_1-1714485295063.png

 

 

1 ACCEPTED SOLUTION
audreygerred
Super User
Super User

Hi! In Power Query, I would make a new custom column that is the difference of A and B, then create a conditional column that specifies if the new custom column = 0, True, else, False.

audreygerred_2-1714486627807.png

 

audreygerred_1-1714486595121.png

 

audreygerred_0-1714486509566.png

 

You could also skip adding the column that calculates 0 or not and just do a conditional column that looks to see if the value in one column is equal to another. You'll get the same TRUE/FALSE this way as well, but you won't have the additional step of the other column.

audreygerred_3-1714486760438.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

3 REPLIES 3
audreygerred
Super User
Super User

Hi! In Power Query, I would make a new custom column that is the difference of A and B, then create a conditional column that specifies if the new custom column = 0, True, else, False.

audreygerred_2-1714486627807.png

 

audreygerred_1-1714486595121.png

 

audreygerred_0-1714486509566.png

 

You could also skip adding the column that calculates 0 or not and just do a conditional column that looks to see if the value in one column is equal to another. You'll get the same TRUE/FALSE this way as well, but you won't have the additional step of the other column.

audreygerred_3-1714486760438.png

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Excellent - Thank you so much!

You are very welcome!





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.