<?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: Creating a section to summarize total choices in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-section-to-summarize-total-choices/m-p/854716#M24452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the idea Doug! I only thought of using repeats but didn't think too far off to obtain the integers and all!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm gonna try this out immediately and confirm the reproducible steps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Apr 2019 15:48:18 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-04-01T15:48:18Z</dc:date>
    <item>
      <title>Creating a section to summarize total choices</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-section-to-summarize-total-choices/m-p/854714#M24450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Hello everyone!&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I have a predicament with a survey form I am developing.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;We're doing very detailed reef substrate checking.&amp;nbsp; We have 4 segments (which I conveniently separated into groups in this survey). Each groups have 20 intervals, thus containing 20 &lt;STRONG&gt;select_one&lt;/STRONG&gt; questions. And each question ('select_one' question) has 10 choices of answers! Just explaining this is already scaring me a little.&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I am wondering if there is a possible way to&amp;nbsp;calculate and sum the different choices accordingly at the end of the survey in a 'note' question type?&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I've gone through some of the answers here, and I found something like the formula below:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro" style="background: #f6f6f6; border-width: 0px 0px 0px 2px; border-style: initial initial initial solid; border-color: initial initial initial #cccccc; margin: 10px 0px; padding: 10px 20px;"&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;if(selected(${question1}, 'yes'), 1, 0) +&amp;nbsp;if(selected(${question2}, 'yes'), 1, 0) +&amp;nbsp;if(selected(${question3}, 'yes'), 1, 0)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I am not sure which 'column' I'm supposed to type this into and typing out 20 questions times 4 isn't too practical! How do we go about this?&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Any sort of input/hints would be super awesome and will really help us out.&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Azalea&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;A href="https://community.esri.com/t5/tag/xlsform/tg-p"&gt;#xlsform&lt;/A&gt;‌ &lt;A href="https://community.esri.com/t5/tag/survey123forarcgisconnect/tg-p"&gt;#survey123forarcgisconnect&lt;/A&gt;‌ &lt;A href="https://community.esri.com/t5/tag/geonet survey123/tg-p"&gt;#geonet survey123&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Mar 2019 03:44:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-section-to-summarize-total-choices/m-p/854714#M24450</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-03-31T03:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a section to summarize total choices</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-section-to-summarize-total-choices/m-p/854715#M24451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you do not need Yes on the backend you could do a label of yes but a value of 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did is have a second field right below the choice the does your if statement If(field1=yes,1,0).&amp;nbsp; &amp;nbsp;Make sure to bind it to type int.&amp;nbsp; Then at the end of the form I can just do a sum(field1).&amp;nbsp; Can also then avg by doing sum(field1)/count(field1).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did all of this across repeats though.&amp;nbsp; Maybe you want a repeat?&amp;nbsp; Then it is just one question with a repeat limit of 20.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 15:40:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-section-to-summarize-total-choices/m-p/854715#M24451</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2019-04-01T15:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a section to summarize total choices</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-section-to-summarize-total-choices/m-p/854716#M24452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the idea Doug! I only thought of using repeats but didn't think too far off to obtain the integers and all!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm gonna try this out immediately and confirm the reproducible steps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2019 15:48:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/creating-a-section-to-summarize-total-choices/m-p/854716#M24452</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-04-01T15:48:18Z</dc:date>
    </item>
  </channel>
</rss>

