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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Jay2022
Helper IV
Helper IV

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 then....

 

What would be the correct formula ?

1 ACCEPTED SOLUTION
Einomi
Helper V
Helper V

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 🙂

View solution in original post

2 REPLIES 2
Jay2022
Helper IV
Helper IV

Excellent, thank you 

Einomi
Helper V
Helper V

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 🙂

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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