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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Dee
Helper III
Helper III

how to select specific words(more than one) from texts in columns

Hi all,

 

I'm trying to check for specific words in a column from a group of texts and extracting them in a new column as per the example below 

 

example,

items                                                 new column

sugar bread milk                               sugar, bread

rice honey water                                rice, water

rice bread milk                                   bread, milk

sugar milk rice                                    milk, rice

 

Any help towards how I can achieve that would be highly appreciated.

 

TIA

 

2 REPLIES 2
v-lili6-msft
Community Support
Community Support

Hi @Dee 

What is the logic of new column? Could you please explain the logic of it and why do some rows have duplicate values and others don't?

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-lili6-msft 

 

The rows are pretty random, the new column I should be able to select specific strings from the preceding column per row.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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