Sort order for legend not working
Hi,
I'm trying to sort a legend on multiple charts by High > Medium > Low and I'm using the formula below, then sticking it in the sort field, but its not sorting by it. It looks to be sorting by the count of item in each of these categories. What am I doing wrong?
(CASE
WHEN `EB Project Risk`='High' THEN 1
WHEN `EB Project Risk`='Medium' THEN 2
WHEN `EB Project Risk`='Low' THEN 3
END)
Best Answer
-
Ok,
So, I think this should be what you need:
Use your last version where you can set the sorting aggregation to "no aggregation" and set the General/Unsorted Data to True in Chart Properties.
Let me know how it goes!
Ricardo Granada
MajorDomo@Lusiaves
**If the post solves your problem, mark it by clicking on "Accept as Solution"
**You can say "Thank you" by clicking the thumbs up in the post that helped you.1
Answers
-
Hi,
Do you have any aggregation set in the sort field?
It should be set to no aggregation:
Hope this helps.
Ricardo Granada
MajorDomo@Lusiaves
**If the post solves your problem, mark it by clicking on "Accept as Solution"
**You can say "Thank you" by clicking the thumbs up in the post that helped you.0 -
I do not. I don't even have an option for it.
0 -
Do you have any aggregation on your `EB Project Risk` field?
Regards,
Ricardo Granada
MajorDomo@Lusiaves
**If the post solves your problem, mark it by clicking on "Accept as Solution"
**You can say "Thank you" by clicking the thumbs up in the post that helped you.0 -
Its a pie chart and I'm counting the number of items in each category.
0 -
Can you show me a screenshot of your card in the analyzer?
Regards,
Ricardo Granada
MajorDomo@Lusiaves
**If the post solves your problem, mark it by clicking on "Accept as Solution"
**You can say "Thank you" by clicking the thumbs up in the post that helped you.0 -
-
Can't replicate your problem....
Try to remove your sort field and add it again, and even do that to the rest of the fields. Every scenario I test I end up with the aggregation option on the sort field and the correct results.
Please tell me how it goes.
Regards.
Ricardo Granada
MajorDomo@Lusiaves
**If the post solves your problem, mark it by clicking on "Accept as Solution"
**You can say "Thank you" by clicking the thumbs up in the post that helped you.0 -
So this is interesting. I did try what you said and it did not work. I even tried creating a brand new card with the same data and it did not work. However what I did notice is that I was given a field for aggregation in the sort menu now. I did make sure it was set to no aggregation but still not having any luck.
0 -
That is strange indeed!
If you want to send me a sample of your data I will have a look and see how it does on my platform...
Regards,
Ricardo Granada
MajorDomo@Lusiaves
**If the post solves your problem, mark it by clicking on "Accept as Solution"
**You can say "Thank you" by clicking the thumbs up in the post that helped you.0 -
I had to pull some data out of it for security reasons but it wasn't necessary for this chart. The only field I'm looking at is EB Project Risk and I'm using Count as the aggregation for the chart. I'm not using aggregation on the sort. Thanks for helping me out with this!
0 -
Ok,
So, I think this should be what you need:
Use your last version where you can set the sorting aggregation to "no aggregation" and set the General/Unsorted Data to True in Chart Properties.
Let me know how it goes!
Ricardo Granada
MajorDomo@Lusiaves
**If the post solves your problem, mark it by clicking on "Accept as Solution"
**You can say "Thank you" by clicking the thumbs up in the post that helped you.1 -
I cannot believe how simple that was. Thank you so much! I really appreciate all the time you put into looking at this.
1 -
No problem... I also overlook that.
Best Regards.
Ricardo Granada
MajorDomo@Lusiaves
**If the post solves your problem, mark it by clicking on "Accept as Solution"
**You can say "Thank you" by clicking the thumbs up in the post that helped you.0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 755 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive