cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Coming Soon: T-Shirt Design Contest

Coming Soon: T-Shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors
Top Kudoed Authors