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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
vmangalkar
New Member

Issue in adding a custom column which should remove the initial numbers from the start of the string

Hello,

I am facing a issue in adding a custom column which should remove the initial numbers from the start of the string.

Original TextExpected Text
19 TestTextTestText
2012 Test TextTest Text
Test Text1Test Text1
1978 TestText 23TestText 23


In excel I used to do it using formula: [=IF(ISNUMBER(VALUE(LEFT(W2, 1))), MID(W2, FIND(" ", W2) + 1, LEN(W2) - FIND(" ", W2)), W2)]
but in Power Query editor I am not able do so.
Any help is appriciated. Thank you!!

1 ACCEPTED SOLUTION
AlienSx
Super User
Super User

Hello, @vmangalkar 

Text.TrimStart([Original Text], {"0".."9", " "}))

View solution in original post

2 REPLIES 2
vmangalkar
New Member

Thank you @AlienSx this worked 👍

AlienSx
Super User
Super User

Hello, @vmangalkar 

Text.TrimStart([Original Text], {"0".."9", " "}))

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.