Forum Discussion

Jay2022's avatar
Jay2022
Helper IV
1 year ago
Solved

IF Text Starts With in Power Query

Hi all how do i use the Text.StartsWith in Power Query in this scenario if i had a column saying something like London Region or London Area etc but i just wanted to say if coln starts with london t...
  • Einomi's avatar
    1 year ago

    Hi,

     

    Please try this 

     

    if Text.StartsWith([RegionColumn], "London") then "London Group" else "Other"

     

    If this workes, please consider accepting as a solution and give kudo 🙂