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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
DebbieE
Community Champion
Community Champion

Split a column with items into rows when you don't know how many items there could be

I have the following column in some data (and at the moment I have to transform using Power Query Editor

 

Data ID       IDs

1                 1;44;55;66

2                  3;4;5;6;7;8;9;20;22

3                  2;21;23

4                  10

 

And you dont know how many there will be for each record. And I want to pivot to this

 

Data ID       IDs

1                 1

1                 44

1                 55

1                 66

2                  3

2                4

2                5

2                6

2                7

2                8

2                9

2                20

2                22

3                2

3                21

3               23

4              10

 

But I can't split rows because I dont know how many columns there could be so i dont know how many to pivot on. Has anyone got a good way of achieving this?

 

1 ACCEPTED SOLUTION
Ahmedx
Super User
Super User

pls try this step

Screenshot_1.png

View solution in original post

3 REPLIES 3
Ahmedx
Super User
Super User

pls try this step

Screenshot_1.png

KRISHP1234
Helper I
Helper I

= Text.Split([IDs], ";")

Yes you got it. 

DebbieE
Community Champion
Community Champion

I think I have it.

 

create custom column 

= Text.Split([IDs], ";")

And then expand the list 

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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 Solution Authors