<?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 How to sum a repeat variable in a report template in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-sum-a-repeat-variable-in-a-report-template/m-p/1110445#M38238</link>
    <description>&lt;P&gt;I have a survey which collects event information and the volunteers who participate at each event. The volunteer and paid hours are tracked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my survey the volunteer info is a repeat to capture multiple volunteers per event.&lt;/P&gt;&lt;P&gt;I need to generate a report showing the sum of volunteer and paid hours. Can someone point me in the direction (possibly with a related example. I did see the photos one.) ? Much thanks in advance?&lt;/P&gt;&lt;P&gt;$&amp;lt;$summary&amp;gt;&lt;/P&gt;&lt;P&gt;${#Event .....}&lt;/P&gt;&lt;P&gt;${#rpt_volunteers}&lt;/P&gt;&lt;P&gt;${hours_type_volunteer},&amp;nbsp;${hours_type_paid}&lt;/P&gt;&lt;P&gt;${/}${/}&lt;/P&gt;&lt;P&gt;$&amp;lt;/&amp;gt;&lt;/P&gt;</description>
    <pubDate>Fri, 22 Oct 2021 22:18:02 GMT</pubDate>
    <dc:creator>Todd</dc:creator>
    <dc:date>2021-10-22T22:18:02Z</dc:date>
    <item>
      <title>How to sum a repeat variable in a report template</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-sum-a-repeat-variable-in-a-report-template/m-p/1110445#M38238</link>
      <description>&lt;P&gt;I have a survey which collects event information and the volunteers who participate at each event. The volunteer and paid hours are tracked.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my survey the volunteer info is a repeat to capture multiple volunteers per event.&lt;/P&gt;&lt;P&gt;I need to generate a report showing the sum of volunteer and paid hours. Can someone point me in the direction (possibly with a related example. I did see the photos one.) ? Much thanks in advance?&lt;/P&gt;&lt;P&gt;$&amp;lt;$summary&amp;gt;&lt;/P&gt;&lt;P&gt;${#Event .....}&lt;/P&gt;&lt;P&gt;${#rpt_volunteers}&lt;/P&gt;&lt;P&gt;${hours_type_volunteer},&amp;nbsp;${hours_type_paid}&lt;/P&gt;&lt;P&gt;${/}${/}&lt;/P&gt;&lt;P&gt;$&amp;lt;/&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Oct 2021 22:18:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-sum-a-repeat-variable-in-a-report-template/m-p/1110445#M38238</guid>
      <dc:creator>Todd</dc:creator>
      <dc:date>2021-10-22T22:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum a repeat variable in a report template</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-sum-a-repeat-variable-in-a-report-template/m-p/1111003#M38274</link>
      <description>&lt;P&gt;Edit: (oops) For a new survey:&lt;BR /&gt;Try making a separate "hidden" or "calculate" question outside of the repeat with count(repeat), sum(repeat), or join(repeat) in the calculation field (your use case is probably &lt;STRONG&gt;sum()&lt;/STRONG&gt; ), and then have your report only draw from that question, rather than the repeats themselves.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformrepeats.htm" target="_blank" rel="noopener"&gt;Repeats—ArcGIS Survey123 | Documentation&lt;/A&gt;&amp;nbsp;(See Aggregation section)&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" target="_blank" rel="noopener"&gt;Formulas—ArcGIS Survey123 | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en/technical-article/000021664" target="_blank"&gt;How To: Calculate the sum of repeats in ArcGIS Survey123 (esri.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sorry, not sure off the top of my head for after you have the data&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 19:51:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-sum-a-repeat-variable-in-a-report-template/m-p/1111003#M38274</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2021-10-25T19:51:23Z</dc:date>
    </item>
  </channel>
</rss>

