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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
lennox25
Helper V
Helper V

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.