How do I achieve the below required format in DOMO?
I want to transpose the below input format into expected output as below. Please suggest.
Input
Month Year | PLAT | PY | FY24 | B |
---|---|---|---|---|
Oct-2022 | F | 1.00 | 2.00 | 3.00 |
Nov-2022 | F | 1.00 | 2.00 | 3.00 |
Dec-2022 | F | 1.00 | 2.00 | 3.00 |
Jan-2023 | F | 1.00 | 2.00 | 3.00 |
Feb-2023 | F | 1.00 | 2.00 | 3.00 |
Mar-2023 | F | 1.00 | 2.00 | 3.00 |
Apr-2023 | F | 1.00 | 2.00 | 3.00 |
May-2023 | F | 1.00 | 2.00 | 3.00 |
Jun-2023 | F | 1.00 | 2.00 | 3.00 |
Jul-2023 | F | 1.00 | 2.00 | 3.00 |
Aug-2023 | F | 1.00 | 2.00 | 3.00 |
Sep-2023 | F | 1.00 | 2.00 | 3.00 |
Output
PLAT | Month Year | Oct-2022 | Nov-2022 | Dec-2022 | Jan-2023 | Feb-2023 | Mar-2023 | Apr-2023 | May-2023 | Jun-2023 | Jul-2023 | Aug-2023 | Sep-2023 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
F | PY | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
F | FY24 | 2.00 | 2.00 | 2.00 | 2.00 | 2.00 | 2.00 | 2.00 | 2.00 | 2.00 | 2.00 | 2.00 | 2.00 |
F | B | 3.00 | 3.00 | 3.00 | 3.00 | 3.00 | 3.00 | 3.00 | 3.00 | 3.00 | 3.00 | 3.00 | 3.00 |
Best Answers
-
As @GrantSmith suggest ETL will need to happen first, something like this should work:
The Constants just identify the column you want to keep, while the alter renames it and removes the other two.
This produces an output which then you can pivot the way you want.
Keep in mind that for Month Year to be sorted properly, you need them to actually be dates, and select the granularity to show by month, if this value is text the way you have it right now, it'll be sorted wither the way they are in the dataset, or alphabetically which might not be what you want.
0 -
The same can be achieved with a single Dynamic Unpivot btw (I always forget this one is there).
1
Answers
-
The first thing I would try would be to use the Transpose option in the table chart. It is in the Chart Properties → General → Transpose
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
@MarkSnodgrass I have tried that already but it would transpose the PLAT field as well which I don't want to do it. The PLAT field should remain as it is.
0 -
In that case, you are going to need to use Magic ETL to selectively pivot some columns. Here's the KB article about pivoting.
https://domo-support.domo.com/s/article/360044951294?language=en_US**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
You can achieve a similar behavior with a Pivot Table, but PY, FY24 and B will be displayed as Columns not Rows.
Sadly there is no current way to indicate DOMO to display the values as Rows as opposed to columns (Ideas Exchange submission so you can upvote). You could most likely achieve this if you do transform it with ETL first but it'll take a bit to try it out and come up with a workable solution.
0 -
It sounds like you want to pivot your data. You can utilize a magic ETL and a pivot column tile to change the structure of your dataset. You can refer to https://domo-support.domo.com/s/article/360044951294?language=en_US
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
Thanks all. I will try in Magic ETL and update with any issues.
0 -
As @GrantSmith suggest ETL will need to happen first, something like this should work:
The Constants just identify the column you want to keep, while the alter renames it and removes the other two.
This produces an output which then you can pivot the way you want.
Keep in mind that for Month Year to be sorted properly, you need them to actually be dates, and select the granularity to show by month, if this value is text the way you have it right now, it'll be sorted wither the way they are in the dataset, or alphabetically which might not be what you want.
0 -
The same can be achieved with a single Dynamic Unpivot btw (I always forget this one is there).
1 -
@marcel_luthi laid it out very nicely (and faster than I could put together 😄 ). One of those options should do the trick for you.
**Check out my Domo Tips & Tricks Videos
**Make sure to any users posts that helped you.
**Please mark as accepted the ones who solved your issue.0 -
Thank you @marcel_luthi :) That would be of significant help to me as i am new to DOMO.
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 56 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive