<?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: Calculations using Survey123 form in browser in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874972#M28979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, e-mail is fine - jtedrick AT Esri.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Sep 2018 21:59:36 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2018-09-17T21:59:36Z</dc:date>
    <item>
      <title>Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874967#M28974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When filling out a Survery123 form using a browser, my calculations from Survey123 Connect do not go through. On my mobile device and the desktop app they work. Is this know issue? Is there something I can do to get this to work on the browser?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Aug 2018 16:03:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874967#M28974</guid>
      <dc:creator>TaylorRobin1</dc:creator>
      <dc:date>2018-08-03T16:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874968#M28975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Taylor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not all questions and calculations are supported in the web app that were created in Connect and supported in mobile app. Can you please provide an example of a calculation that is not working?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, can you share your xlsx file with details of which questions and calculations are not working in the web app, so we can see if&amp;nbsp;it is an issue or bug with web app, or they are not supposed to be supported at this stage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Aug 2018 03:13:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874968#M28975</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-08-06T03:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874969#M28976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Phil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently experiencing a similar issue to what Taylor outlined above. When I complete a survey through the web browser, not all of my calculations occur like they do when completing the same survey using the Survey123 app on my mobile device/computer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am utilizing two external spreadsheets for my calculations and as you can see in the image below, my Risk Assessment score do NOT populate like it does on the mobile/desktop version of Survey123:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="191" src="https://community.esri.com/legacyfs/online/422176_pastedImage_1.png" width="340" /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;IMG class="image-2 jive-image" height="323" src="https://community.esri.com/legacyfs/online/422204_pastedImage_2.png" width="195" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Web Version&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Mobile/Desktop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I find interesting is that the Web Version is able to calculate some values though as you can see in the image below where the Risk Score for question 4 populates.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;IMG class="image-3 jive-image" height="182" src="https://community.esri.com/legacyfs/online/422205_pastedImage_3.png" width="316" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3263"&gt;James Tedrick&lt;/A&gt;‌,&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/193980"&gt;Philip Wilson&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/tag/webapp survey123/tg-p"&gt;#webapp survey123&lt;/A&gt;‌ &lt;A href="https://community.esri.com/t5/tag/survey123web/tg-p"&gt;#survey123web&lt;/A&gt;‌ &lt;A href="https://community.esri.com/t5/tag/survey123calculations/tg-p"&gt;#survey123calculations&lt;/A&gt;‌ #survey123&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 17:28:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874969#M28976</guid>
      <dc:creator>RobertMarros</dc:creator>
      <dc:date>2018-09-17T17:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874970#M28977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the XLS file? &amp;nbsp;Given the NaN value for a score, one thing to check would be that value types are explicitly set in calculations, using the number() function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 19:51:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874970#M28977</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-09-17T19:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874971#M28978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it ok if I email it to you? I will send you my main XLS file, plus the two external ones.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steven&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 21:18:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874971#M28978</guid>
      <dc:creator>RobertMarros</dc:creator>
      <dc:date>2018-09-17T21:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874972#M28979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, e-mail is fine - jtedrick AT Esri.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Sep 2018 21:59:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874972#M28979</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-09-17T21:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874973#M28980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the same problem, I am using Note fields to display an average of values. As String fields they show 'NaN' as Decimal fields they show blank:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="344" src="https://community.esri.com/legacyfs/online/423686_pastedImage_1.png" width="295" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have attached my xlsx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2018 02:36:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874973#M28980</guid>
      <dc:creator>JamesWilson2</dc:creator>
      <dc:date>2018-10-04T02:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874974#M28981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;A href="https://community.esri.com/migrated-users/3263"&gt;James Tedrick&lt;/A&gt;, I too am having issues with the calculations on the webform not calculating answers from previous questions, whereas the s&lt;SPAN style="background-color: #ffffff;"&gt;ame survey using the Survey123 app on my mobile device/computer does work as expected.&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;It would be nice to understand the requirements, my error, or if there is an issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As noted the Survey123 apps show the calculation (in my case the difference between two time fields, when a&amp;nbsp; lift is reopened).&amp;nbsp; The fields on the web form do not update as expected.&amp;nbsp; For client reasons, I want to be able to rely on web version rather than the app so this is a bit of an issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to use the number() function&amp;nbsp; and did not change to the output. For example,&lt;/P&gt;&lt;PRE&gt;int(number(${StartTime}) - number(${StopTime})) div (1000*60)&lt;/PRE&gt;&lt;P&gt;It is as if the webform is not dynamic?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts,&amp;nbsp; appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="431" src="https://community.esri.com/legacyfs/online/424416_pastedImage_1.png" width="499" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Web form:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="507" src="https://community.esri.com/legacyfs/online/424417_pastedImage_2.png" width="500" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 01:13:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874974#M28981</guid>
      <dc:creator>RyanDeBruyn1</dc:creator>
      <dc:date>2018-10-16T01:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874975#M28982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not seeing the errors you are describing. Just to check, what version of Survey123 was this form published with?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 22:58:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874975#M28982</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-10-16T22:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874976#M28983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the web form, time is treated as a text object. &amp;nbsp;This will be addressed in the next version of Survey123 by introducing the decimal-time() function to convert time to a fractional day (i.e., 6:00 am = 0.25). &amp;nbsp;From there mathematical operations can be done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 22:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874976#M28983</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-10-16T22:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874977#M28984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="border: 0px; font-weight: inherit; font-size: 14px;"&gt;&lt;DIV class="" style="border: 0px; font-weight: inherit; margin: 20px 0px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;GDay Mate, I published this in connect v3.0.142. To see the problem in action, try this link&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Farcg.is%2F5qbHW" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; font-weight: inherit; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;https://arcg.is/5qbHW&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 23:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874977#M28984</guid>
      <dc:creator>JamesWilson2</dc:creator>
      <dc:date>2018-10-16T23:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874978#M28985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Loading your form, the fields are blank until all the values contributing to the equation have been filled in - this is to be expected, given the equations you have. &amp;nbsp;Are you needing the average to occur when an incomplete form entry occurs? &amp;nbsp;If so, you can use coalesce() functions to provide an alternate value when a question is unanswered&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;coalesce(int(${q}), 0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 23:33:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874978#M28985</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-10-16T23:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874979#M28986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank James,&amp;nbsp; so specific to time&amp;nbsp;calculation these are not supported in the web form ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Based on your comments I can see what you mean now if I add a note field (graphic below).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at samples and doc... it states this should be accomplished with&amp;nbsp;&lt;SPAN style="color: #4c4c4c;"&gt;decimal-date-time()?&amp;nbsp; &amp;nbsp;However it does not work in the web when tested.&amp;nbsp; &amp;nbsp;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;.&amp;nbsp; &amp;nbsp;So this statement is not true?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c;"&gt;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/browser/create-surveys/decimaldatetime.htm" title="https://doc.arcgis.com/en/survey123/browser/create-surveys/decimaldatetime.htm"&gt;Decimal date time—Survey123 for ArcGIS | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4c4c4c;"&gt;&lt;A href="https://community.esri.com/groups/survey123/blog/2016/04/17/dates-and-time-in-survey123-for-arcgis"&gt;https://community.esri.com/groups/survey123/blog/2016/04/17/dates-and-time-in-survey123-for-arcgis&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE style="color: #4c4c4c; background-color: white; border: 1px solid #cccccc; font-size: 0.875rem; margin-bottom: 1.55rem;"&gt;&lt;THEAD style="background-color: #efefef; border-bottom: 1px solid #cccccc; font-size: 1rem;"&gt;&lt;TR style="border-bottom: none;"&gt;&lt;TH colspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;Objective&lt;/TH&gt;&lt;TH colspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;Epoch time calculation&lt;/TH&gt;&lt;TH colspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;Decimal time calculation&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY class=""&gt;&lt;TR class="" style="border-bottom: 1px solid #cccccc;"&gt;&lt;TD colspan="1" rowspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;&lt;P&gt;Time spent for lunch in minutes&lt;/P&gt;&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;&lt;P&gt;int(${LunchEnd} - ${LunchStart}) div (1000*60)&lt;/P&gt;&lt;/TD&gt;&lt;TD colspan="1" rowspan="1" style="border-left: 1px solid #cccccc; border-right: 1px solid #cccccc; font-weight: 300; padding: 0.51667rem;"&gt;&lt;P&gt;int((decimal-date-time(${lunchends}) - decimal-date-time(${lunchstarts})) * 24*60)&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;IMG __jive_id="424667" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/424667_s123timecalc.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 15:17:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874979#M28986</guid>
      <dc:creator>RyanDeBruyn1</dc:creator>
      <dc:date>2018-10-17T15:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874980#M28987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the web form in particular, there is a distinct difference between a datetime object and a time object; the decimal-time() function is needed to translate the time value (which is stored as a string) to a numeric value suitable for calculations.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2018 21:01:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874980#M28987</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-10-17T21:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874981#M28988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think I understand coalasce. Doesn't it return the first non-empty value of two fields? I have eight fields, and want the running average of the ones that have been answered, as not all eight questions will be answered all the time. Both Survey123 Connect and Survey123 Mobile give me the running total, however the webform does not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 00:24:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874981#M28988</guid>
      <dc:creator>JamesWilson2</dc:creator>
      <dc:date>2018-10-23T00:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874982#M28989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coalesce returns the first non-empty value of the two inputs - an input can either be a question or a value. &amp;nbsp;You can use it within your summing formula. &amp;nbsp;I would not expect the calculations to run on the field app and connect; that would technically be a bug based on how calculations have been defined.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 17:17:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874982#M28989</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-10-23T17:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874983#M28990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please don't fix that bug!&amp;nbsp;&lt;/P&gt;&lt;P&gt;at least, not until functions exists that allow a running total. Looks like coalasce() wouldn't help as I have more than two inputs and never know how many would be populated (I had hopes for sum() and count() but they only work for repeats). In the mean time, I will push users to the mobile app.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 03:42:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874983#M28990</guid>
      <dc:creator>JamesWilson2</dc:creator>
      <dc:date>2018-10-29T03:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874984#M28991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To address the multiple values - coalesce(), like if(), can be nested to accommodate multiple conditions. &amp;nbsp;In your form, it looked like you could have implemented it in the calculate questions to accomplish without nesting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Oct 2018 06:19:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874984#M28991</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-10-29T06:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874985#M28992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm Having the same issue with certain fields not calculating in the web form of Survey 123. Everything is working fine when submitting a survey from my IOS Device. However on the web form the following fields are not calculating: 'PointsRxBurnManager', 'PointsCounty', 'Total_Points', and 'TieBreakerPoints.' I've attached my spreadsheet. If you see something that I'm doing wrong, please help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2019 22:53:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874985#M28992</guid>
      <dc:creator>MichaelTorbett</dc:creator>
      <dc:date>2019-06-26T22:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculations using Survey123 form in browser</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874986#M28993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting the same problem. Survey form is concatenating two fields into a single field (all text) but getting the NaN in the browser. S123 Connect and app do not give the same issue. Any recommendations on how to fix/work around?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Albert&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2019 03:15:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculations-using-survey123-form-in-browser/m-p/874986#M28993</guid>
      <dc:creator>Alber_Verster</dc:creator>
      <dc:date>2019-09-12T03:15:49Z</dc:date>
    </item>
  </channel>
</rss>

