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
meiwah
Resolver I
Resolver I

Check whether a String contains any elements of a column

Hi,

meiwah_0-1702373354913.png

If I've a table Customers and tells the fruits each customer likes, then I've another table contains all local fruits. I would like to find out what local fruits each customer likes. Pls kindly advise how to achieve this in Power Query. Thanks!

 

meiwah_1-1702373452246.png

 

1 ACCEPTED SOLUTION
slorin
Super User
Super User

Hi,

With

Fruits = #"Local Fruits"[Fruit]

add column 

(x) => Text.Combine(List.Select(Fruits, each Text.Contains(x[Likes], _))," ") 

 Stéphane

View solution in original post

1 REPLY 1
slorin
Super User
Super User

Hi,

With

Fruits = #"Local Fruits"[Fruit]

add column 

(x) => Text.Combine(List.Select(Fruits, each Text.Contains(x[Likes], _))," ") 

 Stéphane

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors
Top Kudoed Authors