Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Dear team,
please look into below sample data adn i want the desired format.
splitign multiples columns and the respective values should shown in respective columns.
| Person ID | Type | Order ID | Date of Transaction | Date of Payment |
| 1 | Blue | 100;101 | 01/01/18, 02/01/18 | 02/01/18, 03/01/18 |
| 2 | Blue | 102;103;104 | 01/01/18, 01/01/18, 02/01/18 | 02/01/18, 02/01/18, 03/01/18 |
| 3 | Red | 105;106 | 01/12/2016, 13/04/2015 | 02/12/2016, 13/04/2015 |
| Output | Foramt | |||
| Person ID | Type | Order ID | Date of Transaction | Date of Payment |
| 1 | Blue | 100 | 1/1/2018 | 2/1/2018 |
| 1 | Blue | 101 | 2/1/2018 | 3/1/2018 |
| 2 | Blue | 102 | 1/1/2018 | 2/1/2018 |
| 2 | Blue | 103 | 1/1/2018 | 2/1/2018 |
| 2 | Blue | 104 | 2/1/2018 | 3/1/2018 |
| 3 | Red | 105 | 1/1/2018 | 2/1/2018 |
| 3 | Red | 106 | 2/1/2018 | 3/1/2018 |
Hi @tangutoori
You can add a custom column like following
Then expand it to new rows
=Table.FromColumns({
Text.Split([Order ID],";"),
Text.Split([Date of Transaction],","),
Text.Split([Date of Payment],",")},{"Order ID","Date of Transaction","Date of Payment"}
)
See attached file's query editor for the steps
| TABLE-1 | ||||
| ID | Author | Author Employee ID | Co Author | Co Employee ID |
| 11718 | Jaggarao Karri | 22982 | 7707,45853,33978 | CHARAN SWAMY YADAV KOYYA; SUNNAM HIMAVATH PRASAD; VEERA VENKATA SATYANARAYANA ANANTANENI |
| 11135 | B V S Krishna Phani | 21623 | ||
| 10646 | B V S Krishna Phani | 21623 | ||
| 10182 | Srikanthgandhi Guthi | 28516 | 18050 | Gondi Vishak |
| TABLE-2 | ||||
| ID | Employee | Employee ID | ||
| 11718 | Jaggarao Karri | 22982 | ||
| 11718 | CHARAN SWAMY YADAV KOYYA | 7707 | ||
| 11718 | SUNNAM HIMAVATH PRASAD | 45853 | ||
| 11718 | VEERA VENKATA SATYANARAYANA ANANTANENI | 33978 | ||
| 11135 | B V S Krishna Phani | 21623 | ||
| 10646 | B V S Krishna Phani | 21623 | ||
| 10182 | Srikanthgandhi Guthi | 28516 | ||
| 10182 | Gondi Vishak | 18050 |
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 40 | |
| 36 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 69 | |
| 38 | |
| 35 | |
| 23 |