Hi,
is it possible to show the average response time on an ArcGIS Dashboard?
I have created a Hosted Feature Layer and there are two date type fields called Rep_Time (this is the Reported Date & Time) and Res_Time (this is the Response Date & Time).
What I would like to have is an Indicator Element displaying this in hours and minutes.
I found this post helpful https://www.esri.com/arcgis-blog/products/ops-dashboard/real-time/displaying-time-spans-with-arcade-in-dashboards/ but too complicated for me I am afraid.
My Arcade expression looks like this (which even if it did work would probably only display seconds?)
var dateopened = $datapoint["Rep_Time"];
var datecleared = $datapoint["Res_Time"];
var secondsToRespond = $DateDiff(dateCleared, dateOpened, 'seconds');
Thanks.