Any suggestion for building a similar chart like this from Tableau?
I have this chart created in Tableau, but now I need to recreate this chart in Domo.
The chart will have two categories and two measure names, as well as an x-axis and two y-axes, like this:
The chart
Measures
I tried the line + grouped bar but it doesn't seem to completely recapture this card in Tableau.
Any suggestions as how to make this as similar to the original one?
Thanks!
Best Answer
-
Ok, so I'm going to assume that for the current month you're using your Forecasted Production and anything prior to that is actual.
Forecasted Production beastmode:
CASE WHEN `Date` >= DATE_FORMAT(Current_Date(), '%Y-%m-01') THEN `forecasted_production` END
Actual Production beastmode:
CASE WHEN `Date` < DATE_FORMAT(Current_Date(), '%Y-%m-01') THEN `actual_production` END
This will keep the bars from stacking on each other. Let me know if you need anything else.
0
Answers
-
So you can recreate that using the Line + Stacked Bar. I did a quick mock-up below. The way to do this is to set your Date as your X-axis and then break it into 4 measures using BeastModes. (You can do this with Case When statements, let me know if you'd like more detail around this).
Once you have the 4 measures, add the 2 lines first. Under Chart Properties -> General and set the 'Series on Left Scale' to 2. Then add you bars for production.
The rest is just formatting. Let me know if you have any questions.
Sincerely,
Valiant
**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.0 -
Hi @Valiant!
Thanks so much for your reply! Your chart actually looks close enough to what I need, but can you clarify this:
"...The way to do this is to set your Date as your X-axis and then break it into 4 measures using BeastModes."
Can you please let me know how to do this? Since I am not at all familiar with this yet.
Thanks again so very much!
0 -
And also, I tried recreating it but only get the columns stacked, not aligning properly like yours
0 -
Ok, so I'm going to assume that for the current month you're using your Forecasted Production and anything prior to that is actual.
Forecasted Production beastmode:
CASE WHEN `Date` >= DATE_FORMAT(Current_Date(), '%Y-%m-01') THEN `forecasted_production` END
Actual Production beastmode:
CASE WHEN `Date` < DATE_FORMAT(Current_Date(), '%Y-%m-01') THEN `actual_production` END
This will keep the bars from stacking on each other. Let me know if you need anything else.
0
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 656 Datasets
- 115 SQL DataFlows
- 2.2K Magic ETL
- 811 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 80 App Studio
- 45 Variables
- 771 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 77 Workflows
- 23 Code Engine
- 36 AI and Machine Learning
- 19 AI Chat
- AI Playground
- AI Projects and Models
- 17 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 142 Manage
- 138 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive