Adding Sort to Custom Values
Hi, I have a card that identifies days since last activity date:
Days Since Last Activity Date:
DATEDIFF(CURDATE(),Enrollment Initiative: Last Activity Date
)
And I made a bar chart with a custom range using this beast mode:
CASE
WHEN Days Since Last Activity
<7 then '<7'
WHEN Days Since Last Activity
<30 THEN '7-30'
WHEN Days Since Last Activity
<90 THEN '30-90'
Else '>90'
END
But it default sorts like this:
So I tried to make a sort beast mode like this using the same beast mode as the range:
CASE
WHEN Days Since Last Activity
<7 then 1
WHEN Days Since Last Activity
<30 THEN 2
WHEN Days Since Last Activity
<90 THEN 3
Else 4
END
I added this to the sort spot and changed it to no aggregation, but the chart order doesn't change and still has them flipped in the middle. What am I missing on this?
Answers
-
Are there any other sorts?
Do you have anything in your date options in the top right?
Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.
0
Categories
- All Categories
- Product Ideas
- 2.1K Ideas Exchange
- Connect
- 1.3K Connectors
- 309 Workbench
- 7 Cloud Amplifier
- 10 Federated
- Transform
- 664 Datasets
- 120 SQL DataFlows
- 2.3K Magic ETL
- 825 Beast Mode
- Visualize
- 2.6K Charting
- 89 App Studio
- 46 Variables
- Automate
- 196 Apps
- 486 APIs & Domo Developer
- 94 Workflows
- 24 Code Engine
- AI and Machine Learning
- 23 AI Chat
- 4 AI Projects and Models
- 18 Jupyter Workspaces
- Distribute
- 119 Domo Everywhere
- 283 Scheduled Reports
- 11 Software Integrations
- Manage
- 143 Governance & Security
- 11 Domo Community Gallery
- 49 Product Releases
- 13 Domo University
- Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 116 Community Announcements
- 5K Archive