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

Split string from left, based on letters

Hi,

 

I want to split values in a colum.

If the string starts with a letter of letters, I want to remove them.

But I only want to remove the letters on the left side of the string.

 

For example:

AM171081108RP must become 171081105RP

AMS28105832RCP must become by 28105832RCP

 

If the new values are placed in a new column, this is oke for me.

 

I have no idea how to do this, so your suggestions are highly appreciated!

 

John

 

1 ACCEPTED SOLUTION
tex628
Community Champion
Community Champion

You should be able to use the split column function in the query editor:
image.png

If you happen to have values that goes non-digit to digit multiple times you will need to piece those columns back together, like this:

Original columnOriginal column

SplitSplit

Custom columnCustom column

resultresult

Br,
Johannes


Connect on LinkedIn

View solution in original post

2 REPLIES 2
tex628
Community Champion
Community Champion

You should be able to use the split column function in the query editor:
image.png

If you happen to have values that goes non-digit to digit multiple times you will need to piece those columns back together, like this:

Original columnOriginal column

SplitSplit

Custom columnCustom column

resultresult

Br,
Johannes


Connect on LinkedIn
Anonymous
Not applicable

Hi Johannes,

 

This works for me, thanks!

 

John

 

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.