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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
drmccoy
New Member

Check If Value in Column A is contained in Column B

Hello,

 

I am trying to set up a new column in my dataset to find out if the value in column A is contained within column B. I was hoping someone has come across this and knows a good solve for it. I appreciate any insight anyone might be able to provide on how to make this comparison within PowerBI. 

 

For example:

 

Column A = "Testing"

Column B = "00TestingCD"

 

MatchField = If(<ColumnB> Contains <ColumnA>,"Match","No Match")

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@drmccoy 

 

Hi, in Query Editor

 

1.png

 

Regards

 

Victor

 




Lima - Peru

View solution in original post

1 REPLY 1
Vvelarde
Community Champion
Community Champion

@drmccoy 

 

Hi, in Query Editor

 

1.png

 

Regards

 

Victor

 




Lima - Peru

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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