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
- 10.7K All Categories
- 1 APAC User Group
- 12 Welcome
- 36 Domo News
- 9.6K Using Domo
- 1.9K Dataflows
- 2.4K Card Building
- 2.2K Ideas Exchange
- 1.2K Connectors
- 339 Workbench
- 252 Domo Best Practices
- 11 Domo Certification
- 461 Domo Developer
- 47 Domo Everywhere
- 101 Apps
- 705 New to Domo
- 84 Dojo
- Domopalooza
- 1.1K 日本支部
- 4 道場-日本支部へようこそ
- 23 お知らせ
- 63 Kowaza
- 296 仲間に相談
- 649 ひらめき共有