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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

Use column in one table ('Keywords') to search substrings in a column in another table

Hi All! I've tried implementing this based on some M that I've seen in several places but can't see to get it worked. I know this should be relatively straightforward. Any help appreciated!

I have one table that contains a column of project names. Another table has a column of keywords. I want to search all the substrings in every project name against the keywords. Rows with a hit, create a column called [Match] and a True/False or similar flag. See below. 
 
image_676.png

1 ACCEPTED SOLUTION
Vijay_A_Verma
Super User
Super User

Use following in a custom column

=List.ContainsAny(Text.Split([Project Name]," "),#"Word List"[Keyword],Comparer.OrdinalIgnoreCase)

 

 

View solution in original post

2 REPLIES 2
Vijay_A_Verma
Super User
Super User

Use following in a custom column

=List.ContainsAny(Text.Split([Project Name]," "),#"Word List"[Keyword],Comparer.OrdinalIgnoreCase)

 

 

Anonymous
Not applicable

This worked! Thank you very much

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.

Top Solution Authors