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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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