Forum Discussion
Anonymous
7 years agoNot applicable
Label all except
Hey guys I'm trying to label some product here by their codes on my power query editor. I want to label every codes that starts with "21" except the ones that starts with "212". Something like th...
- 7 years ago
Anonymous Please try this..
= Table.AddColumn(#"Changed Type", "Result", each if Text.StartsWith([Data], "212") then "Product B" else if Text.StartsWith([Data], "21") then "Product A" else "Other")
PattemManohar
7 years agoCommunity Champion
Anonymous Please try this..
= Table.AddColumn(#"Changed Type", "Result", each if Text.StartsWith([Data], "212") then "Product B" else if Text.StartsWith([Data], "21") then "Product A" else "Other")
- Anonymous7 years agoNot applicable
Cool!!!!
Thank you so much!!