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
Anonymous
Not applicable

How to transpose values with Power Query in a column using a separator

Hi everyone,

 

I hope some could help us to make the following transformation

 

We have a file that has a column called "role", but some of these roles ar concatenated in a single column and they are separated by a "/". 

 

mt599t_0-1658432381253.png

 

We need to create a transformation in PowerQuery (or DAX) that creates the following output:

 

mt599t_1-1658432654634.png

 

Basically we need to count de number of separators and create rows bellow the current row and then transpose the roles and drag all other columns until the next one and so on.

 

Does anyone knows how to archive this?  This would really help us Thank you.

 

1 ACCEPTED SOLUTION
HotChilli
Super User
Super User

Split the column by delimiter (using /) and there's an extra option under Advanced which is Split into Rows

View solution in original post

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

You seem to understand the subject really well.

HotChilli
Super User
Super User

Split the column by delimiter (using /) and there's an extra option under Advanced which is Split into Rows

Anonymous
Not applicable

Wow that was easy, Thank you!

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.