Heat Map Hours Off
Hi,
I am trying to make a heatmap. I created a beastmode to help organize the hours to go in chronological order (attached screenshot). However, this doesn't seem to be working (attached screenshot). I am not organizing the times by count in the filters. Could anyone help me figure out what I'm doing wrong? Thanks!
Answers
-
@chrissy Your hour beastmode column is in text so it is sorting it in aplphabetical order, so 1 pm comes right after 1 am alphabetically speaking. Try creating another beastmode that gives hours 1-11 a value of 1 and hours 12-23 a value of 2. Then add this beastmode as a sort before your hour sort.
Alternatively, you could get the time value instead, using this and see if that sorts the issue out:
TIME_FORMAT(TIME('virtual check-in date'),'%h %p')
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**
1 -
@chrissy I agree with @RobSomers that it is not sorting correctly because it is viewing the field as text. You can also sort by
HOUR(`virtual_checkin_date`)
since that is already a numeric field.1 -
Hi @RobSomers
Thanks for your help. I tried to do what you suggested, but struggled. I am probably doing the forumla wrong. As you can tell (in the screenshots) it still did not sort by hours. I tried the other two beast mode recommendations you and Michelle recommended but it still wouldn't sort by hour. Do you have any advice? Thanks!0 -
Hi @MichelleH -
Unfortunately it does not, it just rearranges the numbers again0
Categories
- All Categories
- 1.7K Product Ideas
- 1.7K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 294 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.8K Transform
- 97 SQL DataFlows
- 607 Datasets
- 2.1K Magic ETL
- 3.8K Visualize
- 2.4K Charting
- 707 Beast Mode
- 49 App Studio
- 39 Variables
- 667 Automate
- 170 Apps
- 446 APIs & Domo Developer
- 44 Workflows
- 7 DomoAI
- 33 Predict
- 13 Jupyter Workspaces
- 20 R & Python Tiles
- 391 Distribute
- 111 Domo Everywhere
- 274 Scheduled Reports
- 6 Software Integrations
- 115 Manage
- 112 Governance & Security
- Domo Community Gallery
- 31 Product Releases
- 9 Domo University
- 5.3K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 103 Community Announcements
- 4.8K Archive