Dataset with weeks as columns, need to pivot weeks into one column
Hi,
How can i pivot a dataset which has the weeks as columns? I need to create one column with the weeks and the values within another column. This will enable me to provide charts more easily.
thanks for any ideas! i'm sure it's within redshift functionality, but i'm stuck.
thanks!
Best Answer
-
Hi, this is very simple to do in magic etl , take a look at link below for instructions on how to "Collapse Columns"
it is in the knowledge base and here it is the link
https://knowledge.domo.com/Prepare/Magic_Transforms/ETL_DataFlows/02ETL_Actions%3A_Edit_Columns
Domo Arigato!
**Say 'Thanks' by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as 'Accepted Solution'2
Answers
-
In terms of pivot tables the only thing I found that worked well was a sumo card. It gives you the open to create pivot tables and move around what you want to pivot. I'm not sure if this is what you're looking for, but when I ran into something similar this card helped me achieve what I needed!
Let me know if you find anything else that works!
-Carter
0 -
Hi, this is very simple to do in magic etl , take a look at link below for instructions on how to "Collapse Columns"
it is in the knowledge base and here it is the link
https://knowledge.domo.com/Prepare/Magic_Transforms/ETL_DataFlows/02ETL_Actions%3A_Edit_Columns
Domo Arigato!
**Say 'Thanks' by clicking the thumbs up in the post that helped you.
**Please mark the post that solves your problem as 'Accepted Solution'2 -
Thanks Godeipi! This was the perfect solution.
0 -
Carter - thanks for the idea. Check out the solution from Goedipi, it worked really well!
0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 663 Datasets
- 119 SQL DataFlows
- 2.3K Magic ETL
- 823 Beast Mode
- Visualize
- 2.6K Charting
- 86 App Studio
- 46 Variables
- Automate
- 194 Apps
- 483 APIs & Domo Developer
- 87 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 117 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 143 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive