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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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