Bar Graph Sorting

I am trying to create a stacked bar chart and sort by total sales. I have a field in the legend so I can see the composition of total sales. For some reason it is not sorting the chart descending by total sales like expected. What am i missing here ?
setup: as you can see I have sales dollars descending in the sorting yet for some reason it is not producing the expected format. Redacted y axis for privacy
Best Answer
-
In the Chart Properties under General, set Sort On Totals to descending. This will make your chart group by the overall total and not the individual items.
**Check out my Domo Tips & Tricks Videos
**Make sure toany users posts that helped you.
**Please mark as accepted the ones who solved your issue.3
Answers
-
- Is it possible your series is affecting the sort?
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
@ArborRose I believe in your example you are sorting the Y axis alphabetically. I am trying to sort the Y axis based on Sales Dollars.
0 -
I think your "FORECA…" series needs to be in the sort
In my sample if I move value 2 to the front (blue), I get this sort.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
Unfortunately that gives me the same result. Here is an example of my underlying dataset. The value I'm using is a beast mode = sum(`value`). Here is an example of the dataset
0 -
I think you need to create a calculated field. Something like Total Sales, where the formula is SUM(VALUE). Put that in the sort.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
@ArborRose the value I'm using is a beast mode = sum(`value`). Additionally my dataset does not have 2 value columns, just 1 with a column delineating the forecasted account . Here is a sample. I have attached above as well.
0 -
Having the sample dataset helps. I understand what you are trying to do. But I'm also not seeing it sort as I think it should. I'll look further when I have a chance.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
In the Chart Properties under General, set Sort On Totals to descending. This will make your chart group by the overall total and not the individual items.
**Check out my Domo Tips & Tricks Videos
**Make sure toany users posts that helped you.
**Please mark as accepted the ones who solved your issue.3 -
Mark is absolutely correct. I forgot that was there.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **1
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
- 655 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
- 113 Community Announcements
- 4.8K Archive