cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
drmccoy New Member
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

Accepted Solutions
Vvelarde Super Contributor
Super Contributor

Re: Check If Value in Column A is contained in Column B

@drmccoy 

 

Hi, in Query Editor

 

1.png

 

Regards

 

Victor

 




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

Proud to be a Datanaut!




View solution in original post

1 REPLY 1
Vvelarde Super Contributor
Super Contributor

Re: Check If Value in Column A is contained in Column B

@drmccoy 

 

Hi, in Query Editor

 

1.png

 

Regards

 

Victor

 




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

Proud to be a Datanaut!




View solution in original post

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

New Badges

Incoming: New and Improved Badges

Exciting news: We've given our badges an overhaul and added brand news ones.

Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Analytics in Azure virtual event

Analytics in Azure virtual event

Experience a limitless analytics service built to ingest, prep, manage, and serve data for immediate use in Power BI.

Users Online
Currently online: 253 members 2,001 guests
Please welcome our newest community members: