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
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 308 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 662 Datasets
- 118 SQL DataFlows
- 2.2K Magic ETL
- 821 Beast Mode
- Visualize
- 2.6K Charting
- 85 App Studio
- 46 Variables
- Automate
- 193 Apps
- 483 APIs & Domo Developer
- 85 Workflows
- 23 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 116 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 142 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 115 Community Announcements
- 5K Archive