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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jitterbug777
Advocate II
Advocate II

Delimeter removal in the Middle of numbers

543@456/456/334

 

I`m trying to skip the first delimiter and take out the first 6 numbers? 

so I get 543456, is there a way to do this in one go?

 

my thinking is I might just have to first to extract everything before the @ into a new column.

Then run the operation again to extract everything before the / forward slash, to take those next 3 figures into a new column.

Then merge those 2 new columns.


Is this an M code situation?

1 ACCEPTED SOLUTION
AlienSx
Super User
Super User

Text.Start(Text.Remove(your_text, "@"), 6) 

View solution in original post

2 REPLIES 2
Vijay_A_Verma
Super User
Super User

Another alternative where Data is column name

Text.Start(Text.Select([Data],{"0".."9"}),6)

 

AlienSx
Super User
Super User

Text.Start(Text.Remove(your_text, "@"), 6) 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors