Transpose tool
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I have a file that includes data as seen in below snapshot. I need to transpose those two columns(as indicated in the second snapshot) and I tried the transpose tool and didn't get the desired output. I'm wondering if I need to use a crosstab before transpose tool. Any help on this would be appreciated. Thank you!
Expected output
Solved! Go to Solution.
- Labels:
- Output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @aparna0208
Cross-tab is the correct tool to use. However, you're running into issues because there's no unique key that tells Alteryx how to split the records, it doesn't know to put George and Bob on separate records - how you choose to summarize (first, last, concatenate) would be what you'd see in your results.
To make this work, you need to assign an ID to group by when you cross-tab. I used a tile tool to do this, but you could also go about it other ways (i.e. multi-row formula,etc).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
