Can I show 2 values as a stacked bar and other values as single bars?
I've been asked to create a bar chart that shows 4 values: Prior Year, Actual, Forecasted, and Goal. The request is that the Actual and Forecasted amounts would stack on top of each other for easier comparison but I'm struggling to find a chart type that will support this.
I looked into the Grouped & Stacked bar chart option but it doesn't exactly fit the need. Has anyone been able to create a chart like this? If so, how did you accomplish it and how was your dataset structured?
Best Answers
-
@chelsea_ringl Grouped and Stacked bar comes to mind for me but you may need to change some of the settings for it. I think there is a way to customize how many bars you stack so you can have it only stack 2 and then the rest would not be stacked. You may need to do custom sorting so it appears in the right order and stacked the correct ones.
**If this answer solved your problem be sure to like it and accept it as a solution!
0 -
I do this for year to year trend comparisons using chart type "bar line". I set the data range to the increment (month, quarter, etc). It gives me the current year as a bar and the prior 3 years as line overlays. As the year progresses, we see the performance comparison.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Answers
-
@chelsea_ringl Grouped and Stacked bar comes to mind for me but you may need to change some of the settings for it. I think there is a way to customize how many bars you stack so you can have it only stack 2 and then the rest would not be stacked. You may need to do custom sorting so it appears in the right order and stacked the correct ones.
**If this answer solved your problem be sure to like it and accept it as a solution!
0 -
Thank you @Ashleigh! I will keep playing around with the Grouped & Stacked chart type. I may just need to structure the dataset differently to make it work.
0 -
An alternative would be to incorporate a line to represent your goal that way you don't need as many bars. I do something similar for the same concept. I made an example in the community Domo instance that looks like this.
I think having either the prior year or the goal as the line would make sense to the user and then you only have 1 bar to compare you stacked bar to.
**If this answer solved your problem be sure to like it and accept it as a solution!
1 -
I do this for year to year trend comparisons using chart type "bar line". I set the data range to the increment (month, quarter, etc). It gives me the current year as a bar and the prior 3 years as line overlays. As the year progresses, we see the performance comparison.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 297 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 614 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 729 Beast Mode
- 53 App Studio
- 40 Variables
- 677 Automate
- 173 Apps
- 451 APIs & Domo Developer
- 45 Workflows
- 8 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 121 Manage
- 118 Governance & Security
- Domo Community Gallery
- 32 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive