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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

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

October NL Carousel

Fabric Community Update - October 2024

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

Top Solution Authors