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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors