How to force legend to stay in a Specific order
I have two questions:
1. Is there a way to sort the legend in a specific order and have it stay that way?
I would like it to be as follows:
A
B
C
D
F
But I am having trouble finding the option in chart properties.
2. There is also an extra option in the key that is showing up that doesn't apply to anything. Is there a way to get rid of that?
I have attatched a screen shot for better understanding
Best Answer
-
You have to make sure your sort is set to "No aggregation"
**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.0
Answers
-
Normally I will use 2 sorts to achieve this.
If your X axis is your date range, first add your date value to your sort (to keep that from getting messed up). Then add a 2nd sort for your Series value. That will allow you to set it Ascending or Descending alphabetical order.Hope that helps,
Valiant
1 -
Hello,
Yes, drag your series into the "sorting" section and to get rid of the unwanted value, drag your series in the "filters" section and choose "Not In" and then select the blank value.
Hope this helps
Brian
**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.
**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.0 -
When I add my series to the sort section it is only altering the table setup and the order it is stacked in. But it is not changing the legend order. Any advice on that?
0 -
You have to make sure your sort is set to "No aggregation"
**Please mark "Accept as Solution" if this post solves your problem
**Say "Thanks" by clicking the "heart" in the post that helped you.0 -
Please use beast mode calculation as below:
Rank_Order:
CASE
WHEN field = 'A' THEN 1
WHEN field = 'B' THEN 2
WHEN field = 'C' THEN 3
WHEN field = 'D' THEN 4
WHEN field = 'F' THEN 5
END
Use this beast mode calculation in sorting(ascending).
Hope this helps!
0
Categories
- 10.6K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 474 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 478 Datasets
- 214 Visualize
- 259 Beast Mode
- 2.1K Charting
- 12 Variables
- 19 Automate
- 356 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 249 Distribute
- 65 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 190 Product Ideas
- 1.2K Ideas Exchange
- 11 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive