Time series plot with Primary and Secondary axis
Hi,
I have below data;
Date | Category | Value |
02-08-2019 | Cat1 | 10 |
02-08-2019 | Cat2 | 20 |
02-08-2019 | Cat3 | 30 |
03-08-2019 | Cat1 | 110 |
03-08-2019 | Cat2 | -220 |
03-08-2019 | Cat3 | 230 |
04-08-2019 | Cat1 | 30 |
04-08-2019 | Cat2 | 40 |
04-08-2019 | Cat3 | 40 |
With this data I want to create a time-series plot with below properties :
- Cat1 and Cat3 will be plotted with the Primary axis and Cat2 will be with Secondary axis
- Cat1 and Cat3 will be line plot, whereas Cat3 will be Area plot
- Cat2 will be plotted with absolute value
Any pointer on how to create a plot with all above properties will be highly appreciated.
Comments
-
I would suggest making separate beast mode calculations for each category.
Cat1:
case when `Category` = 'Cat1' then `Value` end
Cat2:
case when `Category` = 'Cat2' then `Value` end
Cat3:
case when `Category` = 'Cat3' then abs(`Value`) end
I don't believe there is a chart type that allows for both area and line plots in the same chart area. However, you should be able to include Cat1 and Cat3 on the primary axis of a Line + Grouped Bar chart by adding your Cat1, Cat3, and Cat2 calculations to the Y-axis & Series slots (in that order). Then under Chart Properties > General enter '2' in "Series on Left Scale"
0 -
Your statement 'by adding your Cat1, Cat3, and Cat2 calculations to the Y-axis & Series slots (in that order). Then under Chart Properties > General enter '2' in "Series on Left Scale"' is not working at all.
I cant generate line + bar chart, all I can see is single line.
It is really bad that Area + bar chart is not possible in Domo
0 -
Could you please share a screenshot of what you're seeing?
0
Categories
- All Categories
- 1.2K Product Ideas
- 1.2K Ideas Exchange
- 1.3K Connect
- 1.1K Connectors
- 273 Workbench
- 2 Cloud Amplifier
- 3 Federated
- 2.7K Transform
- 78 SQL DataFlows
- 525 Datasets
- 2.1K Magic ETL
- 2.9K Visualize
- 2.2K Charting
- 434 Beast Mode
- 22 Variables
- 510 Automate
- 114 Apps
- 388 APIs & Domo Developer
- 8 Workflows
- 26 Predict
- 10 Jupyter Workspaces
- 16 R & Python Tiles
- 332 Distribute
- 77 Domo Everywhere
- 255 Scheduled Reports
- 66 Manage
- 66 Governance & Security
- 1 Product Release Questions
- Community Forums
- 40 Getting Started
- 26 Community Member Introductions
- 68 Community Announcements
- 4.8K Archive