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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
NewPBIe
Helper II
Helper II

Split multivalue column into a row for each value in the same table

Hello everybody. 

 

From this table:

id

Multivalue
1A, B
2A
3B
4A, B, C
5

C

 

I need this table:

idValue
1A
1B
2A
3B
4

A

 

and so on. Thank you!

1 ACCEPTED SOLUTION
Arul
Super User
Super User

@NewPBIe ,

In Power query editor try the below steps,

1. Split the multivalue column by comma delimiter by selecting split at Each occurrence of the delimiter,

Arul_1-1677062105488.png

2. Select the id column and do a right click and then do Unpivot Other Columns,

Arul_2-1677062214847.png

3. Delete the attribute column to get the desired output,

Arul_3-1677062287038.png

Arul_4-1677062304013.png

Thanks,

Arul





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

Proud to be a Super User!


LinkedIn


View solution in original post

2 REPLIES 2
Arul
Super User
Super User

@NewPBIe ,

In Power query editor try the below steps,

1. Split the multivalue column by comma delimiter by selecting split at Each occurrence of the delimiter,

Arul_1-1677062105488.png

2. Select the id column and do a right click and then do Unpivot Other Columns,

Arul_2-1677062214847.png

3. Delete the attribute column to get the desired output,

Arul_3-1677062287038.png

Arul_4-1677062304013.png

Thanks,

Arul





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

Proud to be a Super User!


LinkedIn


Thank you @Arul!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Kudoed Authors