<?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 Bug with repeat aggregate function? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/bug-with-repeat-aggregate-function/m-p/877471#M29650</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp; I have a survey which uses repeats, and sums the total within each repeat using the aggregate function e.g. sum(${repeat_value}).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since upgrading to Survey123 version 2.7.98 (and Survey123 Connect 2.7.72) this no longer works - the entry box remains blank.&amp;nbsp; This worked perfectly in the previous version.&lt;/P&gt;&lt;P&gt;Is this a bug, or has the syntax changed somehow?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 May 2018 10:24:27 GMT</pubDate>
    <dc:creator>ClaireWood</dc:creator>
    <dc:date>2018-05-15T10:24:27Z</dc:date>
    <item>
      <title>Bug with repeat aggregate function?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/bug-with-repeat-aggregate-function/m-p/877471#M29650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp; I have a survey which uses repeats, and sums the total within each repeat using the aggregate function e.g. sum(${repeat_value}).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since upgrading to Survey123 version 2.7.98 (and Survey123 Connect 2.7.72) this no longer works - the entry box remains blank.&amp;nbsp; This worked perfectly in the previous version.&lt;/P&gt;&lt;P&gt;Is this a bug, or has the syntax changed somehow?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 10:24:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/bug-with-repeat-aggregate-function/m-p/877471#M29650</guid>
      <dc:creator>ClaireWood</dc:creator>
      <dc:date>2018-05-15T10:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with repeat aggregate function?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/bug-with-repeat-aggregate-function/m-p/877472#M29651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Claire,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share a copy of the XLS file? &amp;nbsp;If you want to e-mial directly, please do so at jtedrick AT Esri.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 23:24:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/bug-with-repeat-aggregate-function/m-p/877472#M29651</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2018-05-15T23:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with repeat aggregate function?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/bug-with-repeat-aggregate-function/m-p/877473#M29652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I’ve figured out what the problem is.&amp;nbsp; In order to use the aggregate function, sum(${repeat_value}), the values in the repeat had to be converted to integers in separate fields using ‘number(${field})’.&amp;nbsp; These new columns were hidden using a ‘relevant’ clause.&amp;nbsp; However, this no longer works as the calculation no longer was being evaluated where the column is not relevant.&lt;/P&gt;&lt;P&gt;I have changed these hidden fields to ‘hidden’ types, removed the ‘relevant’ clause, added ind:esriFieldType as esriFieldTypeInteger and added a column called ‘bind::type’ and set to ‘int’.&amp;nbsp;&amp;nbsp; This now appears to work.&lt;/P&gt;&lt;P&gt;Claire&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 10:36:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/bug-with-repeat-aggregate-function/m-p/877473#M29652</guid>
      <dc:creator>ClaireWood</dc:creator>
      <dc:date>2018-05-17T10:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with repeat aggregate function?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/bug-with-repeat-aggregate-function/m-p/877474#M29653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been trying to do this without luck, just came across this and will try it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way we can get this to work with Decimals? We enter partial values, can't have them truncated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 17:29:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/bug-with-repeat-aggregate-function/m-p/877474#M29653</guid>
      <dc:creator>DaveKerr1</dc:creator>
      <dc:date>2018-05-30T17:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Bug with repeat aggregate function?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/bug-with-repeat-aggregate-function/m-p/877475#M29654</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;‌&lt;/P&gt;&lt;P&gt;I have recently updated to&amp;nbsp;Connect version 3.7.62 and am getting this same problem again and the changes I made in the previous post are no longer working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So to summarize, my&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;survey uses repeats, and sums the total within each repeat using the aggregate function e.g. sum(${repeat_value}).&amp;nbsp; Each of these totals is summed in a single calculation e.g.&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;sum(${repeat_value1})+sum(${repeat_value2})+&lt;SPAN style="background-color: #ffffff;"&gt;sum(${repeat_value3}).&amp;nbsp; This used to work, but now doesn't.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Hope you can help!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN style="background-color: #ffffff; "&gt;Claire&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 10:42:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/bug-with-repeat-aggregate-function/m-p/877475#M29654</guid>
      <dc:creator>ClaireWood</dc:creator>
      <dc:date>2020-03-06T10:42:23Z</dc:date>
    </item>
  </channel>
</rss>

