beast mode for total active tickets per hour

Hi Everyone,
I was hoping to get some assistance on writing a beast mode for getting a table to show total number of tickets per hour. Something like the one below:
I have something like this so far-
DATE_FORMAT(Date_Entered_UTC
, '%Y-%m-%d %H:00:00'), COUNT(TicketNbr
)
but getting an error when trying to submit it.
Any assistance is greatly appreciated.
Best Answer
-
An hour bucket is a way of grouping timestamps by the hour they fall into. So for example:
Date_Entered_UTC
Hour Bucket
2025-05-20 08:23:17
2025-05-20 08:00:00
2025-05-20 08:55:42
2025-05-20 08:00:00
2025-05-20 07:05:10
2025-05-20 07:00:00
It's saying "group everything that occurred between 8:00 and 8:59:59 under the bucket for 8:00. You have this in your formula. You are doing it in your screenshot. You are counting tickets grouped by that hour.
DATE_FORMAT(`Date_Entered_UTC`, '%Y-%m-%d %H:00:00')
If you want to show them by the hour only (8:00, 9:00, 10:00, etc), you could try
DATE_FORMAT(`Date_Entered_UTC`, '%H:00')
Oh, by the way…I would separate date as a column formatted as short date such as 5/20/2025 and hour as another column. Then put each in the sort to arrange them ascending or descending and include maybe year and month columns if this chart spans a long period.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **1
Answers
-
Create a beast mode formula (calculated field) using something like Hour Bucket as
DATE_FORMAT(`Date_Entered_UTC`, '%Y-%m-%d %H:00:00')
Then you want to create a card with a table that aggregates using COUNT. Drop Hour Bucket on the card and then TicketNbr on the card and set it to COUNT.
COUNT(`TicketNbr`)
This will count the number of tickets for each hour bucket. Let me know if you need actual screenshots and I'll build a sample.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
@ArborRose Thank you for the assistance!
Can you clarify by what you mean "drop hour bucket" please?
This is what I have currently.
0 -
An hour bucket is a way of grouping timestamps by the hour they fall into. So for example:
Date_Entered_UTC
Hour Bucket
2025-05-20 08:23:17
2025-05-20 08:00:00
2025-05-20 08:55:42
2025-05-20 08:00:00
2025-05-20 07:05:10
2025-05-20 07:00:00
It's saying "group everything that occurred between 8:00 and 8:59:59 under the bucket for 8:00. You have this in your formula. You are doing it in your screenshot. You are counting tickets grouped by that hour.
DATE_FORMAT(`Date_Entered_UTC`, '%Y-%m-%d %H:00:00')
If you want to show them by the hour only (8:00, 9:00, 10:00, etc), you could try
DATE_FORMAT(`Date_Entered_UTC`, '%H:00')
Oh, by the way…I would separate date as a column formatted as short date such as 5/20/2025 and hour as another column. Then put each in the sort to arrange them ascending or descending and include maybe year and month columns if this chart spans a long period.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **1 -
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
- 824 Beast Mode
- Visualize
- 2.6K Charting
- 87 App Studio
- 46 Variables
- Automate
- 195 Apps
- 486 APIs & Domo Developer
- 90 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