Chart Average, Max, Min with Date/Time
Hello,
I am trying to use a Line Graph to see First Reponse Times. I want to show Shortest, Average, Longest. I have a the main date/time, then used Beast Mode to calculate the minutes from the first reponse date/time and subtract it from the main date/time.
ABS(MINUTE(`FTechStartTime`) - MINUTE(`ChatTime`))
I noticed most of it wroks but when a time goes into a new hour, it adds 50+ mins
example:
Start Time: 17 Apr 2019 15:59:00 PM
First Reponse Time: 17 Apr 2019 16:02:00 PM
Results = 57
Not sure how to get the right calculation for this
0
Comments
-
Can you try using TIMEDIFF() instead?
TIMEDIFF('Time 1','Time 2')
0 -
What your calculation is doing is looking at the minutes, finding the difference and taking the abs value. In your example, 59 - 2 = 57
0 -
Looks like that helped
MINUTE(TIMEDIFF(`FTechStartTime`,`ChatTime`))
Graph looks much better
1
This discussion has been closed.
Categories
- All Categories
- 2K Product Ideas
- 2K Ideas Exchange
- 1.6K Connect
- 1.3K Connectors
- 311 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 3.8K Transform
- 656 Datasets
- 115 SQL DataFlows
- 2.2K Magic ETL
- 813 Beast Mode
- 3.3K Visualize
- 2.5K Charting
- 81 App Studio
- 45 Variables
- 773 Automate
- 190 Apps
- 481 APIs & Domo Developer
- 79 Workflows
- 23 Code Engine
- 38 AI and Machine Learning
- 19 AI Chat
- AI Playground
- 1 AI Projects and Models
- 18 Jupyter Workspaces
- 410 Distribute
- 120 Domo Everywhere
- 280 Scheduled Reports
- 10 Software Integrations
- 143 Manage
- 139 Governance & Security
- 8 Domo Community Gallery
- 48 Product Releases
- 12 Domo University
- 5.4K Community Forums
- 41 Getting Started
- 31 Community Member Introductions
- 114 Community Announcements
- 4.8K Archive