SOLVED
Splitting data from rows to columns
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
arkimp
8 - Asteroid
08-11-2022
02:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I have a data like below ..
| Date | country | Amt_1 | Amt_2 |
| 2022-07-01 | UK | 1000 | 2000 |
| 2022-07-01 | US | 3000 | 2000 |
| 2022-07-02 | UK | 500 | 600 |
| 2022-07-02 | US | 4000 | 500 |
I need the output like this. How can we achieve this?.
| Date | UK_Amt_1 | US_Amt_1 | UK_Amt_2 | US_Amt_2 | |
| 2022-07-01 | 1000 | 3000 | 2000 | 2000 | |
| 2022-07-02 | 500 | 4000 | 600 | 500 | |
Solved! Go to Solution.
Labels:
- Labels:
- Data Investigation
1 REPLY 1
17 - Castor
08-11-2022
02:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey @arkimp, how's this? The workflow just Transposes the data and brings the country as well as original header into the data, so that they can be combined into the new header before being Cross-Tabbed back to the format you'd like:
