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

Get Fabric certified for FREE! Don't miss your chance! Learn more

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

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.