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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Munawar1881
Helper II
Helper II

Copy specific word from column to other customize column

Hi,

 

hope all of you are doing well.

 

I have a question if anyone can please answer. I have a product description in one column which contain a word male or female with other details I want to create a column in and want to copy the male, female etc from description column to the new one. how can I do that.

 

please find the example below. it's in Excel but I need to it in Power BI

 

Thank you so much

 

Munawar1881_0-1665663445261.png

 

4 REPLIES 4
Munawar1881
Helper II
Helper II

Munawar1881_0-1665817674702.png

 

wdx223_Daniel
Super User
Super User

NewStep=Table.AddColumn(PreviousStepName,"Gender",each List.Skip({"BABY","LADIES","MEN'S"},(x)=>not Text.Contains([Style Name],x,Comparer.OrdinalIgnoreCase){0}? ??"OTHERS")

can you please help the query you gave me is showing error

no its not working

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.