SOLVED
Transpose and repeat values
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
Goncal
5 - Atom
‎11-02-2021
08:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I have sales data like this (each month in a separate column):
And I needed like this:
I need to repeat every single row for every month I have, and add the month next to it.
I think that once I have the months in a single column, matching the sales should be easy but I am struggling with the first part.
Thank you so much
Solved! Go to Solution.
Labels:
- Labels:
- Transformation
- Workflow
3 REPLIES 3
Christina_H
14 - Magnetar
‎11-02-2021
09:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Use a Transpose tool, with Product Line, Brand family and SKU as key columns and all months as data columns. The output should have all the months in the Name column and sales in the Value column, which you can rename in a Select tool.
Alteryx
‎11-02-2021
09:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
‎11-02-2021
09:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks! this was easy! I am new to Alteryx and couldn't figure out the transpose tool
