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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.