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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Chris_Ka123
New Member

Delete text in one column from another column (variable)

Hello guys,

 

I have the following topic.

I have a table with the first two columns (First one: postal code, city, district of the city, sometimes the street and number, information about km which should be deleted).

The goal should be the last column:

46145 Oberhausen (Sterkrade-Mitte)14,2 km14,2 km46145 Oberhausen
41061 Mönchengladbach (Stadtmitte), Hindenburgstraße47,6 km47,6 km41061 Mönchengladbach Hindenburgstraße
41236 Mönchengladbach (Rheydt), Hauptstraße 20049,4 km49,4 km41236 Mönchengladbach Hauptstraße 200

 

Sometimes I have only the zip code and city (Row 1), sometimes the name of the street (Row 2), sometimes the whole adress with the number of the street, but no space between the information out of column 2 (Row 3). 

So I have to delete the text from column 2 out of column 1. 

 

Do you know how I can achieve that?

 

Thanks in advance!

2 REPLIES 2
PhilipTreacy
Super User
Super User

Hi @Chris_Ka123 

 

I'm confused.  You say the desired result is what's shown in Column 2.  But then you say you need to delete the text in Col 2 from Col 1??

 

Regards

 

Phil



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Hi @PhilipTreacy , I think the format of the created table was not so great here. Sorry for that!

 

As a screenshot it would be easier to see:

Chris_Ka123_0-1680162895378.png

So column 1 + 2 is available, column 3 should be the goal.

 

Br,

Christopher

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.