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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
pbiuser12345
Helper I
Helper I

Splitting Multiple Delimited Columns Into Rows

Hello all,

 

I have data that contains two columns with comma delimited data, that I need to transform from this:

 

Project IDNameTechnician NamesCustomer Names
10Project TenAlice, Bob, CharlesQuincy, Robert
11Project ElevenDonStu, Tiffany

 

Into this:

 

Project IDNameTechnician NamesCustomer Names
10Project TenAliceQuincy
10Project TenBobRobert
10Project TenCharles 
11Project ElevenDonStu
11Project Eleven Tiffany

 

I know that I can use PowerQuery and split by delimiter into rows, but when I apply that on both columns I don't of course end up with the above.  I'm stumped as to where I can take it from there to get where I want to be, but it feels very much like it should be possible.

 

Thank you for any help you can offer!

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Anonymous
Not applicable

5 REPLIES 5
Anonymous
Not applicable

try this

Hi Rocco,

 

With my apologies on second look it's almost there but not quite.  You will notice in the proposed solution (the 'asis' table), Tiffany has jumped from being a customer to a technician.  The proposed transform works only as long as the count of technicians on a given row is >= the number of customers on the same row.

 

Any thoughts on how that could be addressed?  I was wondering if it's possible to slip in dummy values as needed and then remove them after.  Not sure if that could be done or not though.

 

Thank you again!

Anonymous
Not applicable

 

Worked like a charm - thanks again!

That is perfect - thanks so much!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

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.

Top Solution Authors