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')
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman0 -
What your calculation is doing is looking at the minutes, finding the difference and taking the abs value. In your example, 59 - 2 = 57
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman0 -
Looks like that helped
MINUTE(TIMEDIFF(`FTechStartTime`,`ChatTime`))
Graph looks much better
1
This discussion has been closed.
Categories
- All Categories
- 1.4K Product Ideas
- 1.4K Ideas Exchange
- 1.4K Connect
- 1.2K Connectors
- 284 Workbench
- 4 Cloud Amplifier
- 4 Federated
- 2.9K Transform
- 88 SQL DataFlows
- 555 Datasets
- 2.2K Magic ETL
- 3.3K Visualize
- 2.3K Charting
- 566 Beast Mode
- 9 App Studio
- 27 Variables
- 577 Automate
- 140 Apps
- 414 APIs & Domo Developer
- 22 Workflows
- 1 DomoAI
- 28 Predict
- 12 Jupyter Workspaces
- 16 R & Python Tiles
- 350 Distribute
- 90 Domo Everywhere
- 258 Scheduled Reports
- 2 Software Integrations
- 91 Manage
- 88 Governance & Security
- 9 Product Release Questions
- Community Forums
- 42 Getting Started
- 28 Community Member Introductions
- 85 Community Announcements
- 4.8K Archive