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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
PreethuSanthu
Regular Visitor

split single rows into multiple rows- No delimeter

 

I have data like this!

 

6674:SHELL6305:SHELL6357:SHELL7685:SHELL7772:SHELL1316:SHELL7598:SHELL7708:SHELL

 

I want to transform like below!

Col1Col2
6674SHELL
6305SHELL
6357SHELL
7685SHELL
7772SHELL
1316SHELL
7598SHELL
7708SHELL

 

 

1 ACCEPTED SOLUTION
ziying35
Impactful Individual
Impactful Individual

 

let
    txt = "6674:SHELL6305:SHELL6357:SHELL7685:SHELL7772:SHELL1316:SHELL7598:SHELL7708:SHELL",
    split = Splitter.SplitTextByCharacterTransition((c)=> not List.Contains({"0".."9"},c),{"0".."9"})(txt),
    result = Table.FromList(split,each Text.Split(_,":"),{"Col1","Col2"})
in
    result

 

Hi@PreethuSanthu

If my code solves your problem, mark it as a solution

View solution in original post

1 REPLY 1
ziying35
Impactful Individual
Impactful Individual

 

let
    txt = "6674:SHELL6305:SHELL6357:SHELL7685:SHELL7772:SHELL1316:SHELL7598:SHELL7708:SHELL",
    split = Splitter.SplitTextByCharacterTransition((c)=> not List.Contains({"0".."9"},c),{"0".."9"})(txt),
    result = Table.FromList(split,each Text.Split(_,":"),{"Col1","Col2"})
in
    result

 

Hi@PreethuSanthu

If my code solves your problem, mark it as a solution

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.

Top Kudoed Authors