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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
FabvE
Helper I
Helper I

Split rows into nested list

Hi,

this might be an easy task but I'm struggeling the whole morning with this.

In my table I have a column [Owners] which contains a string of emails separated by comma.

I want to convert these emails per row into nested lists within the same column (no extra column).

 

I already tried Text.SplitAny in combination with Table.TransformRows etc. but only get errors...

 

Maybe you can help? 🙂

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @FabvE ,

 

Thanks for @Uzi2019 and @rajendraongole1 reply.

 

@FabvE Do you want to change value of Owner column to List without adding custom column? If so, you can try this.

= Table.TransformColumns(#"Changed Type",{ "Owner" , each Text.Split(_,",") } )

vmengmlimsft_0-1731050041855.png

vmengmlimsft_1-1731050060907.png

vmengmlimsft_2-1731050120970.png

 

 

 

Best regards,

Mengmeng Li

View solution in original post

5 REPLIES 5
Anonymous
Not applicable

Hi @FabvE ,

 

Thanks for @Uzi2019 and @rajendraongole1 reply.

 

@FabvE Do you want to change value of Owner column to List without adding custom column? If so, you can try this.

= Table.TransformColumns(#"Changed Type",{ "Owner" , each Text.Split(_,",") } )

vmengmlimsft_0-1731050041855.png

vmengmlimsft_1-1731050060907.png

vmengmlimsft_2-1731050120970.png

 

 

 

Best regards,

Mengmeng Li

Uzi2019
Super User
Super User

Hi @FabvE 

 

Check my solution 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!
Uzi2019
Super User
Super User

Hi @FabvE 

 

Check these steps:

 

I created similar scenario , this is my data with comma seperated.

 

Uzi2019_0-1730804903051.png

 

1) Go to power query

2) select your owner column

3) go to transform tab

4) split column

 

Uzi2019_1-1730805033799.png

 

5) select by delimiter

6) select comma seperator then go to advance setting select row > ok

Uzi2019_2-1730805115300.png

 

 

Uzi2019_3-1730805146525.png

 

check the result are in seperate rows not in columns.

 

I hope i answered your question!

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!
rajendraongole1
Super User
Super User

Hi @FabvE - Certainly! It sounds like you want each cell in the [Owners] column to contain a list of emails (instead of a single comma-separated string)

Select the column [Owners] and go to the Add Column tab.

Choose Custom Column, and in the dialog box that appears, use the following M code

= Text.Split([Owners], ",")

Sometimes emails separated by commas have extra spaces, which can interfere with your list format.

= List.Transform(Text.Split([Owners], ","), each Text.Trim(_))

 

Once done, select Close & Apply to load your transformed data back into Power BI.

 

Hope this works.





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





HI,

thank you but this creates another column. Is there a way to transform the original column without creating an additional one?
I want to avoid unnecessary steps in my query. 🙂

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors