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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
prpaz
Regular Visitor

extract numerical sequence in form

Hello friends.

I need help with this challenge. I'm having trouble thinking of a solution. I need to extract from this column a certain sequence of numbers, example:

 

Screenshot_1.png

6 REPLIES 6
Ahmedx
Super User
Super User

pls try this

 

Text.BeforeDelimiter(
Text.BetweenDelimiters(
     [input], """:"" -","//"),"-")
let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("7VSxboMwFPwVRNeE2AZj3K2VMjYdki1ElrFNYyXBqW3Soeq/1zWBpZ8QGBC6u3c6PU5vv0+/6/SoparT5zr1tg8fizp1R2M9k8oJq69emy7SHCZeOT8olL1pMYyVtK0w4lI2sAjvAjouuYANhrCgJaRwMO2ZVWfulWSeu5OLo5Gw6rMPvoFojQ2ii7nxc6RBDjAQNIeNQFJAQB1HmOQVIaDFRSMa2t6tJfeciTN3Trda8Cmz7ryyHfsy9hTMxZAkqPrOGwZA1CTLBOcYZxDlBS5JhmCGAoaGJ1mtksCQihYljuPDXqZxmsEMlmFgBKKImauyMccIb9/Qy2vkPqzpryO8W29375v1EMyjEeb/1uz15R5/ctw+LXMQsauZ8lSUUBpB49jfSvmF6S44aRmAjjM3KjemTn/Sw2JuwdACRCuSgakGYK7BQ9ZgPgZzC0ILChL+Pq5IAcNRwHMLHrIFJajAw96Cwy8=", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [input = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"input", type text}}),
    #"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each Text.BeforeDelimiter(
Text.BetweenDelimiters(
     [input], """:"" -","//"),"-"))
in
    #"Added Custom"

Screen Capture #1414.png

Ahmedx
Super User
Super User

post some lines to help you. Can't copy text from image

Thanks for the contribution. Could you be more specific? Is the image not complete? grateful

just give an excel file with a few lines words

Here is the excel file with some examples. Thanks 


https://1drv.ms/x/s!AroWQPm16D9YhJgXjoMG-1wfD7QXGw?e=MFz8Rs 

prpaz
Regular Visitor

Hello

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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