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
Anonymous
Not applicable

Extract text from the a String / Remove No.'s from the Text

Hello Everyone,

 

I am trying to get the Street without No. from the column Street with No.

Anyone could please help.

Dataset looks like below:

 

Street with No.                                                                    Street Without No.

Erlanger Strasee 10Erlanger Strasee
EylauerStr. 11EylauerStr.
BadencheStr. 111BadencheStr.
Noway Street 11-15Noway Street
ABC StrasseABC Strasse
1 ACCEPTED SOLUTION
petrovnikitamai
Resolver V
Resolver V

try in query editor add new column 

= Table.AddColumn(#"Changed Type", "Street Without No.", each Text.Select([Street with No.],{"a".."z","A".."Z","."," "}))

or

 

= Table.AddColumn(#"Changed Type", "Street Without No.", each Text.Remove([Street with No.],{"0".."9","-"}))

 

 

View solution in original post

2 REPLIES 2
petrovnikitamai
Resolver V
Resolver V

try in query editor add new column 

= Table.AddColumn(#"Changed Type", "Street Without No.", each Text.Select([Street with No.],{"a".."z","A".."Z","."," "}))

or

 

= Table.AddColumn(#"Changed Type", "Street Without No.", each Text.Remove([Street with No.],{"0".."9","-"}))

 

 

Anonymous
Not applicable

Hi @petrovnikitamai , Thanks. It worked. I was trying with {"a".."z"},{"A".."Z"} and was getting error. Got it though. Thanks again.

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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 Solution Authors
Top Kudoed Authors