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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
travslater
Regular Visitor

"Contains" but for an entire column

Hello everybody

 

I have a list of text values in one table and I want to compare it to multiple columns in another table.

 
I'm hoping to search the whole table for any of the values in my first list and return something in that row if the lookup hits.
 
This would be similar to the Contains function, but for an entire column of data. 

Is there any language I can use, either with DAX or M code in the query? 
 
Anything helps, cheers!
1 REPLY 1
BeaBF
Super User
Super User

Can you put a concrete case, in order to fix the answer?

B.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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