<?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 Calculation in repeat not working in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-repeat-not-working/m-p/1152366#M41210</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a simple calculation in a repeat that is not working. I had this setup and it was working great, but now to get it to work in the mobile app, I have to delete the first repeat record and then add a new record for the calculation to work. Below are the fields and calculation from the XLS form.&lt;/P&gt;&lt;TABLE width="598"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="66"&gt;type&lt;/TD&gt;&lt;TD width="101"&gt;name&lt;/TD&gt;&lt;TD width="67"&gt;required&lt;/TD&gt;&lt;TD width="128"&gt;readonly&lt;/TD&gt;&lt;TD width="236"&gt;calculation&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;decimal&lt;/TD&gt;&lt;TD&gt;CU_MIX&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;decimal&lt;/TD&gt;&lt;TD&gt;CU_TOTALGAL&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;decimal&lt;/TD&gt;&lt;TD&gt;CU_AMOUNT&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;(${CU_MIX}*0.01)*${CU_TOTALGAL}&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what the mobile app looks like when the repeat record loads and numbers are entered into the CU_MIX field (% Conc. of Mix) and the CU_TOTGAL (Total Gallons of Mix Used) field. The calculated field CU_AMOUNT (Amount of Chemical Applied) is blank.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nspittlemeister_LCFPD_0-1646862340225.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/35995i1467B67D37098195/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nspittlemeister_LCFPD_0-1646862340225.png" alt="nspittlemeister_LCFPD_0-1646862340225.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But after deleting the first repeat record and adding a new record, the calculation works perfectly:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nspittlemeister_LCFPD_1-1646862480458.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/35997i13E7AF3BCC77E122/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nspittlemeister_LCFPD_1-1646862480458.png" alt="nspittlemeister_LCFPD_1-1646862480458.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm running version 3.14.237 in the mobile app and Version 3.14.256 in Connect. This&amp;nbsp; calculation was working without issues a few weeks ago when I first set it up, but now it's not working. Both the mobile app and Connect were upgraded between then and now, could that be associated with this issue? Or do I have the calculation setup incorrectly in the repeat?&lt;/P&gt;&lt;P&gt;Thank you for the help.&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;</description>
    <pubDate>Wed, 09 Mar 2022 21:59:42 GMT</pubDate>
    <dc:creator>nspittlemeister_LCFPD</dc:creator>
    <dc:date>2022-03-09T21:59:42Z</dc:date>
    <item>
      <title>Calculation in repeat not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-repeat-not-working/m-p/1152366#M41210</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a simple calculation in a repeat that is not working. I had this setup and it was working great, but now to get it to work in the mobile app, I have to delete the first repeat record and then add a new record for the calculation to work. Below are the fields and calculation from the XLS form.&lt;/P&gt;&lt;TABLE width="598"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="66"&gt;type&lt;/TD&gt;&lt;TD width="101"&gt;name&lt;/TD&gt;&lt;TD width="67"&gt;required&lt;/TD&gt;&lt;TD width="128"&gt;readonly&lt;/TD&gt;&lt;TD width="236"&gt;calculation&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;decimal&lt;/TD&gt;&lt;TD&gt;CU_MIX&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;decimal&lt;/TD&gt;&lt;TD&gt;CU_TOTALGAL&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;decimal&lt;/TD&gt;&lt;TD&gt;CU_AMOUNT&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;yes&lt;/TD&gt;&lt;TD&gt;(${CU_MIX}*0.01)*${CU_TOTALGAL}&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is what the mobile app looks like when the repeat record loads and numbers are entered into the CU_MIX field (% Conc. of Mix) and the CU_TOTGAL (Total Gallons of Mix Used) field. The calculated field CU_AMOUNT (Amount of Chemical Applied) is blank.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nspittlemeister_LCFPD_0-1646862340225.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/35995i1467B67D37098195/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nspittlemeister_LCFPD_0-1646862340225.png" alt="nspittlemeister_LCFPD_0-1646862340225.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But after deleting the first repeat record and adding a new record, the calculation works perfectly:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nspittlemeister_LCFPD_1-1646862480458.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/35997i13E7AF3BCC77E122/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nspittlemeister_LCFPD_1-1646862480458.png" alt="nspittlemeister_LCFPD_1-1646862480458.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'm running version 3.14.237 in the mobile app and Version 3.14.256 in Connect. This&amp;nbsp; calculation was working without issues a few weeks ago when I first set it up, but now it's not working. Both the mobile app and Connect were upgraded between then and now, could that be associated with this issue? Or do I have the calculation setup incorrectly in the repeat?&lt;/P&gt;&lt;P&gt;Thank you for the help.&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 21:59:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-repeat-not-working/m-p/1152366#M41210</guid>
      <dc:creator>nspittlemeister_LCFPD</dc:creator>
      <dc:date>2022-03-09T21:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in repeat not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-repeat-not-working/m-p/1152417#M41216</link>
      <description>&lt;P&gt;An update...I found a workaround that works well for now. I set the appearance of the begin_repeat to minimal, so the initial record isn't created until the user selects the add related record button in the field app. This makes the calculation work normally.&lt;/P&gt;&lt;P&gt;Nick&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 03:08:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-repeat-not-working/m-p/1152417#M41216</guid>
      <dc:creator>nspittlemeister_LCFPD</dc:creator>
      <dc:date>2022-03-10T03:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in repeat not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-repeat-not-working/m-p/1420828#M56766</link>
      <description>&lt;P&gt;I was experiencing a similar issue with my calcuations in a repeat not working. Your workaround to set the repeat appearance to 'minimal' worked perfectly - thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 02:33:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-repeat-not-working/m-p/1420828#M56766</guid>
      <dc:creator>Meglutton</dc:creator>
      <dc:date>2024-05-09T02:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation in repeat not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-repeat-not-working/m-p/1535315#M58942</link>
      <description>&lt;P&gt;hi, y had the same problem and your &lt;SPAN&gt;workaround was the solution.&lt;BR /&gt;thanks...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 22:02:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-in-repeat-not-working/m-p/1535315#M58942</guid>
      <dc:creator>JorgeRodriguez2</dc:creator>
      <dc:date>2024-09-04T22:02:07Z</dc:date>
    </item>
  </channel>
</rss>

