<?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: Summarizing values of a repeat does not work in the web form in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/summarizing-values-of-a-repeat-does-not-work-in/m-p/1123385#M39081</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;! Thank you for your speedy reply! The field that I want to include is a string and I was hoping to use the&amp;nbsp;&lt;STRONG&gt;sum()&lt;/STRONG&gt; function to concatenate across the repeat to create a nice text list. I tried setting the bind::type to&amp;nbsp;&lt;STRONG&gt;string&lt;/STRONG&gt;&amp;nbsp;but that didn't work either. Any other thoughts? Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 07 Dec 2021 16:21:10 GMT</pubDate>
    <dc:creator>KimberlyMcCallum</dc:creator>
    <dc:date>2021-12-07T16:21:10Z</dc:date>
    <item>
      <title>Summarizing values of a repeat does not work in the web form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/summarizing-values-of-a-repeat-does-not-work-in/m-p/1123372#M39078</link>
      <description>&lt;P&gt;Hi All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a survey where the user may enter many records in a repeat. At the very end of the survey, prior to submission, I would like to include a summary note for the user to be able to quickly review some of their data without clicking back through the repeat. Do do this, I simply added a hidden field in the repeat where I concatenated the field I want to put in the summary with a comma and space for readability (&lt;STRONG&gt;concat(${uselocation_name}, ', '&lt;/STRONG&gt;)). At the end, outside of the repeat, I added a summary calculation field (&lt;STRONG&gt;sum(${locationNameCalc})&lt;/STRONG&gt;), where all the values are added together. This looks fine in Connect but when I publish the survey and test it, the summary note simply shows NaN. I have set the&amp;nbsp;&lt;STRONG&gt;bind::esri:fieldType&amp;nbsp;&lt;/STRONG&gt;to null as I don't want to save this in my feature service.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone have any insight into this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 16:07:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/summarizing-values-of-a-repeat-does-not-work-in/m-p/1123372#M39078</guid>
      <dc:creator>KimberlyMcCallum</dc:creator>
      <dc:date>2021-12-07T16:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Summarizing values of a repeat does not work in the web form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/summarizing-values-of-a-repeat-does-not-work-in/m-p/1123375#M39079</link>
      <description>&lt;P&gt;You need to also set the bind::type field to a number (int or decimal depending on data).&amp;nbsp; A calculation field does not know the type so you have to set it.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 16:12:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/summarizing-values-of-a-repeat-does-not-work-in/m-p/1123375#M39079</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-12-07T16:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Summarizing values of a repeat does not work in the web form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/summarizing-values-of-a-repeat-does-not-work-in/m-p/1123385#M39081</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;! Thank you for your speedy reply! The field that I want to include is a string and I was hoping to use the&amp;nbsp;&lt;STRONG&gt;sum()&lt;/STRONG&gt; function to concatenate across the repeat to create a nice text list. I tried setting the bind::type to&amp;nbsp;&lt;STRONG&gt;string&lt;/STRONG&gt;&amp;nbsp;but that didn't work either. Any other thoughts? Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 16:21:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/summarizing-values-of-a-repeat-does-not-work-in/m-p/1123385#M39081</guid>
      <dc:creator>KimberlyMcCallum</dc:creator>
      <dc:date>2021-12-07T16:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Summarizing values of a repeat does not work in the web form</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/summarizing-values-of-a-repeat-does-not-work-in/m-p/1123393#M39083</link>
      <description>&lt;P&gt;Oh to join strings you want join().&amp;nbsp; sum is just for numbers that threw me off.&amp;nbsp; (The apps let you cheat with + but not the web.)&lt;/P&gt;&lt;P&gt;This page is your new bible&amp;nbsp;&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" target="_blank" rel="noopener"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 17:00:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/summarizing-values-of-a-repeat-does-not-work-in/m-p/1123393#M39083</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-12-07T17:00:50Z</dc:date>
    </item>
  </channel>
</rss>

