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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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 PBI25 Carousel

Power BI Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors