<?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: Accumulating repeat data in text string outside of repeat in Survey123 Connect in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/accumulating-repeat-data-in-text-string-outside-of/m-p/1386369#M54985</link>
    <description>&lt;OL&gt;&lt;LI&gt;Within the repeat create a row:&lt;OL&gt;&lt;LI&gt;type: text&lt;/LI&gt;&lt;LI&gt;name: speciesrecord&lt;/LI&gt;&lt;LI&gt;appearance: hidden (&lt;EM&gt;or not hidden while testing...&lt;/EM&gt;)&lt;/LI&gt;&lt;LI&gt;calculation:&amp;nbsp;&lt;EM&gt;concat(${speciesCount}, " ", ${speciesCondition}, " ", ${Species}, "&amp;lt;br&amp;gt;")&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;Fieldtype = null (so it doesn't create a field)&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Create a row outside the repeat to combine the data together:&lt;OL&gt;&lt;LI&gt;type: text&lt;/LI&gt;&lt;LI&gt;name: speciesrecordsummary&lt;/LI&gt;&lt;LI&gt;appearance: hidden (&lt;EM&gt;or not hidden while testing...&lt;/EM&gt;)&lt;/LI&gt;&lt;LI&gt;Fieldtype = null (so it doesn't create a field)&lt;/LI&gt;&lt;LI&gt;Calculation: join('&amp;lt;br&amp;gt;',${speciesrecord})&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Create a note field with no name and a label of ${speciesrecordsummary}&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This will:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Tidy up each species record within the repeat&lt;/LI&gt;&lt;LI&gt;Join them together outside the repeat&lt;/LI&gt;&lt;LI&gt;Display the data via a note label&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;You can adjust the concatenated text or join separator as desired.&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2024 23:24:38 GMT</pubDate>
    <dc:creator>ChristopherCounsell</dc:creator>
    <dc:date>2024-02-23T23:24:38Z</dc:date>
    <item>
      <title>Accumulating repeat data in text string outside of repeat in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/accumulating-repeat-data-in-text-string-outside-of/m-p/1386263#M54983</link>
      <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example.PNG" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/95696i83278CF1380E6F0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Example.PNG" alt="Example.PNG" /&gt;&lt;/span&gt;Hi! I have a question that seems like it should be super simple, but is taking forever for me to figure out.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I have three select one question in a survey123 connect XLSForm. I need to create an expression that summarizes these responses across multiple repeats in a string outside of the repeat. Basically I want the user to be able to quickly read what data has been collected in that repeat. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;The question/item names are speciesCount,&lt;/SPAN&gt;&amp;nbsp;speciesCondition, and Species&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;For example, I need to accumulate the results 3 repeat responses. I want it to look like this: &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;{speciesCount1}&amp;nbsp; {speciesCondition1} {Species1}, {speciesCount2} {speciesCondition2} {Species2}, {speciesCount3} {speciesCondition3} {Species3}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;7 Alive Spruce, 9 Dead Aspen, 2 Alive Birch&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;This expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;EM&gt;concat(${speciesCount}, " ", ${speciesCondition}, " ", ${Species})&lt;/EM&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;puts the data in the right order&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;but erases data when you add a new repeat. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;This expression:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;EM&gt;join(", ",${speciesCount}, " ", ${speciesCondition}, " ", ${Species})&lt;/EM&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Accumulates data throughout repeats but it is not in the right order and looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;7,9 ,2, ,Alive,dead,Alive, ,Spruce, Aspen, Birch&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;${speciesCount1) ,${speciesCount2) , ${speciesCount3), ${speciesCond1},${speciesCond2}, ${speciesCond3}, ${baSpec1}, ${baSpec2}, ${baSpec3}.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I then tried to create a hidden row to accumulate data, then another calculate row to display, and another row to see if text display would change anything. This generates an error '&lt;SPAN&gt;dependency cycles amongst the xpath expression in relevant/calculate\n\nResult: Invalid' or it cycles forever and never updates the form.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AKSavannahThomasDataProjects_0-1708719475316.png" style="width: 711px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/95694i3C39371DCD6344DD/image-dimensions/711x80?v=v2" width="711" height="80" role="button" title="AKSavannahThomasDataProjects_0-1708719475316.png" alt="AKSavannahThomasDataProjects_0-1708719475316.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hopefully I explained this well but please let me know if I can elaborate more. Any tips or ideas on other ways I could achieve a summary field would be super appreciated. Thank you!!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 20:43:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/accumulating-repeat-data-in-text-string-outside-of/m-p/1386263#M54983</guid>
      <dc:creator>AK-SavannahThomasDataProjects</dc:creator>
      <dc:date>2024-02-23T20:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulating repeat data in text string outside of repeat in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/accumulating-repeat-data-in-text-string-outside-of/m-p/1386369#M54985</link>
      <description>&lt;OL&gt;&lt;LI&gt;Within the repeat create a row:&lt;OL&gt;&lt;LI&gt;type: text&lt;/LI&gt;&lt;LI&gt;name: speciesrecord&lt;/LI&gt;&lt;LI&gt;appearance: hidden (&lt;EM&gt;or not hidden while testing...&lt;/EM&gt;)&lt;/LI&gt;&lt;LI&gt;calculation:&amp;nbsp;&lt;EM&gt;concat(${speciesCount}, " ", ${speciesCondition}, " ", ${Species}, "&amp;lt;br&amp;gt;")&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;Fieldtype = null (so it doesn't create a field)&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Create a row outside the repeat to combine the data together:&lt;OL&gt;&lt;LI&gt;type: text&lt;/LI&gt;&lt;LI&gt;name: speciesrecordsummary&lt;/LI&gt;&lt;LI&gt;appearance: hidden (&lt;EM&gt;or not hidden while testing...&lt;/EM&gt;)&lt;/LI&gt;&lt;LI&gt;Fieldtype = null (so it doesn't create a field)&lt;/LI&gt;&lt;LI&gt;Calculation: join('&amp;lt;br&amp;gt;',${speciesrecord})&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Create a note field with no name and a label of ${speciesrecordsummary}&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;This will:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Tidy up each species record within the repeat&lt;/LI&gt;&lt;LI&gt;Join them together outside the repeat&lt;/LI&gt;&lt;LI&gt;Display the data via a note label&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;You can adjust the concatenated text or join separator as desired.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 23:24:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/accumulating-repeat-data-in-text-string-outside-of/m-p/1386369#M54985</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-02-23T23:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulating repeat data in text string outside of repeat in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/accumulating-repeat-data-in-text-string-outside-of/m-p/1386401#M54987</link>
      <description>&lt;P&gt;Christopher thank you!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;This worked perfectly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2024 00:36:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/accumulating-repeat-data-in-text-string-outside-of/m-p/1386401#M54987</guid>
      <dc:creator>AK-SavannahThomasDataProjects</dc:creator>
      <dc:date>2024-02-24T00:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulating repeat data in text string outside of repeat in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/accumulating-repeat-data-in-text-string-outside-of/m-p/1580437#M61028</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/412943"&gt;@ChristopherCounsell&lt;/a&gt;&amp;nbsp;I am trying to repeat this workflow and cannot get it to work. I did have a join working when I originally completed my form, but it has been broken for at least 6 months. I am not sure if there was an update that caused it to break or what.&lt;/P&gt;&lt;P&gt;I have confirmed that my concatenate calculation works, and believe it is something in step 2 above, as when I unhide the Phase_summary field&lt;SPAN&gt;&amp;nbsp;(see snapshot) nothing appears - it is just an editable box.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you have any suggestions of where I am going wrong? Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LJackson29_0-1738254781674.png" style="width: 760px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/124365i0FC055015C835ACA/image-dimensions/760x97?v=v2" width="760" height="97" role="button" title="LJackson29_0-1738254781674.png" alt="LJackson29_0-1738254781674.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LJackson29_1-1738254865985.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/124366iA24EA1858AA5894C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LJackson29_1-1738254865985.png" alt="LJackson29_1-1738254865985.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 16:37:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/accumulating-repeat-data-in-text-string-outside-of/m-p/1580437#M61028</guid>
      <dc:creator>LJackson29</dc:creator>
      <dc:date>2025-01-30T16:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: Accumulating repeat data in text string outside of repeat in Survey123 Connect</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/accumulating-repeat-data-in-text-string-outside-of/m-p/1582140#M61102</link>
      <description>&lt;P&gt;I would recommend making a new post and providing your XLSForm. Unanswered posts get more attention. Feel free to tag me or other MVPs.&lt;/P&gt;&lt;P&gt;Your circumstances sound different. Notably the formatting and you're using the web app. Can't provide any insight without the xlsform to be honest.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 07:08:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/accumulating-repeat-data-in-text-string-outside-of/m-p/1582140#M61102</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2025-02-05T07:08:39Z</dc:date>
    </item>
  </channel>
</rss>

