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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
scoobymoo
Frequent Visitor

Splitting multiple columns using delimiter

Hi

 

I have a table which includes 3 columns with delimiters. I need to split the columns into rows using the delimiters but maintaining the order of the information in the columns

 

for example:

 

I would like this

Person IDTypeOrder IDDate of TransactionDate of Payment
001Blue100,10101/01/18, 02/01/1802/01/18, 03/01/18
002Blue102,103,10401/01/18, 01/01/18, 02/01/1802/01/18, 02/01/18, 03/01/18
003Red105,10601/12/2016, 13/04/201502/12/2016, 13/04/2015

To look like this

Person IDTypeOrder IDDate of TransactionDate of Payment
001Blue10001/01/201802/01/2018
001Blue10102/01/201803/01/2018
002Blue10201/01/201802/01/2018
002Blue10301/01/201802/01/2018
002Blue10402/01/201803/01/2018
003Red10501/01/201802/01/2018
003Red10602/01/201803/01/2018

 

I can split one column into rows using the delimiters but is it possible to split them all without losing the relationship?

 

Thank you

 
1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

Hi scoobymoo,

 

Based on my test, it's difficult to insert values from one column to another column in power bi. I woud recommend you to try R script or python script to do this.

 

Regards,

Jimmy Tao

View solution in original post

1 REPLY 1
v-yuta-msft
Community Support
Community Support

Hi scoobymoo,

 

Based on my test, it's difficult to insert values from one column to another column in power bi. I woud recommend you to try R script or python script to do this.

 

Regards,

Jimmy Tao

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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