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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register 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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Kudoed Authors