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.
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 ID | Type | Order ID | Date of Transaction | Date of Payment |
001 | Blue | 100,101 | 01/01/18, 02/01/18 | 02/01/18, 03/01/18 |
002 | Blue | 102,103,104 | 01/01/18, 01/01/18, 02/01/18 | 02/01/18, 02/01/18, 03/01/18 |
003 | Red | 105,106 | 01/12/2016, 13/04/2015 | 02/12/2016, 13/04/2015 |
To look like this
Person ID | Type | Order ID | Date of Transaction | Date of Payment |
001 | Blue | 100 | 01/01/2018 | 02/01/2018 |
001 | Blue | 101 | 02/01/2018 | 03/01/2018 |
002 | Blue | 102 | 01/01/2018 | 02/01/2018 |
002 | Blue | 103 | 01/01/2018 | 02/01/2018 |
002 | Blue | 104 | 02/01/2018 | 03/01/2018 |
003 | Red | 105 | 01/01/2018 | 02/01/2018 |
003 | Red | 106 | 02/01/2018 | 03/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
Solved! Go to Solution.
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
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
98 | |
78 | |
66 | |
53 |
User | Count |
---|---|
139 | |
100 | |
95 | |
85 | |
63 |