<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Is it possible to calculate differences of two time fields in an indicator? in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320052#M1785</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to accomplish both steps in Operations Dashboard.&amp;nbsp; I'm pulling data from another system that has start and finish dates.&amp;nbsp; 1)&amp;nbsp; I need to calculate the time between the start and finish.&amp;nbsp; 2) Then I need to do the average.&amp;nbsp; Is there a way to calculate the time in Operations Dashboard before creating the Average Indicator?&amp;nbsp; I'm bring the data in as an eURL into Portal Web Map and there is no way to get this time value in the other system.&amp;nbsp; Is there a way to show this calculation in the web map and use it in the Operations Dashboard app?&amp;nbsp; Any help would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 May 2019 18:56:37 GMT</pubDate>
    <dc:creator>AdamCottrell</dc:creator>
    <dc:date>2019-05-02T18:56:37Z</dc:date>
    <item>
      <title>Is it possible to calculate differences of two time fields in an indicator?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320050#M1783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on a dashboard that monitors an active Survey123-based collection effort. I want to track the field team efficiency. I can track their efficiency by calculating the difference between the&amp;nbsp;&lt;EM&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/quickreferencecreatesurveys.htm"&gt;start&lt;/A&gt;&lt;/EM&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/quickreferencecreatesurveys.htm"&gt; and&amp;nbsp;&lt;/A&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/quickreferencecreatesurveys.htm"&gt;&lt;EM&gt;end&lt;/EM&gt;&lt;/A&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/quickreferencecreatesurveys.htm"&gt; type fields&lt;/A&gt; in the feature service that Survey123 writes to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I create an indicator in Operations Dashboard that shows the average difference between two date fields over a given time period?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 13:22:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320050#M1783</guid>
      <dc:creator>ElliottPlack1</dc:creator>
      <dc:date>2018-02-22T13:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to calculate differences of two time fields in an indicator?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320051#M1784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would think that this is possible. See the options here:&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/operations-dashboard/help/date-based-filter-conditions.htm" title="https://doc.arcgis.com/en/operations-dashboard/help/date-based-filter-conditions.htm"&gt;Date-based filter conditions—Operations Dashboard for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you can also do is use Arcade expression to symbolize the points based on the time difference. See the DateDiff function&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/arcade/function-reference/date_functions" title="https://developers.arcgis.com/arcade/function-reference/date_functions"&gt;Date Functions | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 13:34:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320051#M1784</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2018-02-22T13:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to calculate differences of two time fields in an indicator?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320052#M1785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to accomplish both steps in Operations Dashboard.&amp;nbsp; I'm pulling data from another system that has start and finish dates.&amp;nbsp; 1)&amp;nbsp; I need to calculate the time between the start and finish.&amp;nbsp; 2) Then I need to do the average.&amp;nbsp; Is there a way to calculate the time in Operations Dashboard before creating the Average Indicator?&amp;nbsp; I'm bring the data in as an eURL into Portal Web Map and there is no way to get this time value in the other system.&amp;nbsp; Is there a way to show this calculation in the web map and use it in the Operations Dashboard app?&amp;nbsp; Any help would be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2019 18:56:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320052#M1785</guid>
      <dc:creator>AdamCottrell</dc:creator>
      <dc:date>2019-05-02T18:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to calculate differences of two time fields in an indicator?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320053#M1786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suppose that you should be able to create the time difference information as a "virtual field" in the pop-up using an appropriate Arcade expression. However, the usage of this type of información in a Dashboard is rather limited (although the team is working on&amp;nbsp;support for the type of workflows).&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2019 19:26:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320053#M1786</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-05-02T19:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to calculate differences of two time fields in an indicator?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320054#M1787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your quick reply.&amp;nbsp; I was able to create a&amp;nbsp;successful Arcade Expression that gives me the time in hours in the web map but it does not carry over into Operations Dashboard.&amp;nbsp; I even saved it as a new layer hoping to trick Op Dashboard.&amp;nbsp; It did not work. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&amp;nbsp; &amp;nbsp;So frustrating when you think you have it and then you don't.&amp;nbsp; This was so close to working!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2019 19:38:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320054#M1787</guid>
      <dc:creator>AdamCottrell</dc:creator>
      <dc:date>2019-05-02T19:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to calculate differences of two time fields in an indicator?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320055#M1788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you are able to, but if you can modify the layer with a Field Calculation in ArcGIS Online, you would be able to use the same Arcade expression to&amp;nbsp;fill a real field that is accessible to Dashboard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2019 19:46:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320055#M1788</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-05-02T19:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to calculate differences of two time fields in an indicator?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320056#M1789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using Portal instead of AGOL but same concept.&amp;nbsp; This layer is coming from another internal system through an eURL so I cannot add fields.&amp;nbsp; Just the fact that I'm able to bring in this data real-time using eURL in its own is a game changer!&amp;nbsp; Especially in Operation Dashboard.&amp;nbsp; Of course, I get the question, "Can we add the average time it&amp;nbsp;takes to complete different tickets?"&amp;nbsp; I have to see if I can do the calculation in the original system first but, so far, I have had no luck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 May 2019 19:55:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320056#M1789</guid>
      <dc:creator>AdamCottrell</dc:creator>
      <dc:date>2019-05-02T19:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to calculate differences of two time fields in an indicator?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320057#M1790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey all, I just came across this ArcGIS Idea.&amp;nbsp;&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/ideas/15442-arcade-expressions-in-operation-dashboard"&gt;https://community.esri.com/ideas/15442-arcade-expressions-in-operation-dashboard&lt;/A&gt;&amp;nbsp; In the comments of this Idea, there are a few more links to other Ideas of the same nature.&amp;nbsp; Please go vote these Ideas Up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 May 2019 19:40:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/is-it-possible-to-calculate-differences-of-two/m-p/320057#M1790</guid>
      <dc:creator>AdamCottrell</dc:creator>
      <dc:date>2019-05-03T19:40:02Z</dc:date>
    </item>
  </channel>
</rss>

