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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.