<?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 Counting repeat select_multiple answers in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/counting-repeat-select-multiple-answers/m-p/795608#M9391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to set up a species list for our botany team&amp;nbsp;in Survey123 using an xlsform. I have set up a searchable species list and then a select-multiple list of lifeform types. The botanist will select a species, and then one, multiple or no lifeform. I want to be able to add how many times each lifeform was selected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: botanist chooses a species -&amp;nbsp;xx&lt;/P&gt;&lt;P&gt;Then chooses a lifeform - LS and SS&lt;/P&gt;&lt;P&gt;Then chooses another species - xx&lt;/P&gt;&lt;P&gt;And chooses a lifeform - PG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display - LS used 1, SS used 1, PG used 1, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each of the select-multiple options, I want to be able to sum the number of times&amp;nbsp;it was selected. It currently works if only selecting one lifeform per species but fails with more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jun 2020 06:42:19 GMT</pubDate>
    <dc:creator>NedMay</dc:creator>
    <dc:date>2020-06-02T06:42:19Z</dc:date>
    <item>
      <title>Counting repeat select_multiple answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/counting-repeat-select-multiple-answers/m-p/795608#M9391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to set up a species list for our botany team&amp;nbsp;in Survey123 using an xlsform. I have set up a searchable species list and then a select-multiple list of lifeform types. The botanist will select a species, and then one, multiple or no lifeform. I want to be able to add how many times each lifeform was selected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: botanist chooses a species -&amp;nbsp;xx&lt;/P&gt;&lt;P&gt;Then chooses a lifeform - LS and SS&lt;/P&gt;&lt;P&gt;Then chooses another species - xx&lt;/P&gt;&lt;P&gt;And chooses a lifeform - PG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Display - LS used 1, SS used 1, PG used 1, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each of the select-multiple options, I want to be able to sum the number of times&amp;nbsp;it was selected. It currently works if only selecting one lifeform per species but fails with more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 06:42:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/counting-repeat-select-multiple-answers/m-p/795608#M9391</guid>
      <dc:creator>NedMay</dc:creator>
      <dc:date>2020-06-02T06:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Counting multiple select answers across repeats</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/counting-repeat-select-multiple-answers/m-p/795609#M9392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your sum() outside of the repeat?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2020 13:57:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/counting-repeat-select-multiple-answers/m-p/795609#M9392</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-06-02T13:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Counting multiple select answers across repeats</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/counting-repeat-select-multiple-answers/m-p/795610#M9393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've updated the response with the survey, the sum is outside the repeats and seems to work with only one lifeform selected. I think the if(${lifeform} = 'XX', 1, 0) does not work with select_multiple?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2020 02:35:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/counting-repeat-select-multiple-answers/m-p/795610#M9393</guid>
      <dc:creator>NedMay</dc:creator>
      <dc:date>2020-06-03T02:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: Counting repeat select_multiple answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/counting-repeat-select-multiple-answers/m-p/795611#M9394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With select multiple you have to use&amp;nbsp;jr:choice-name(choice, 'question').&amp;nbsp; If you have species1;species2 then = will not be true.&amp;nbsp; See the formulas page for more info&amp;nbsp;&lt;A class="link-titled" href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm" title="https://doc.arcgis.com/en/survey123/desktop/create-surveys/xlsformformulas.htm"&gt;Formulas—Survey123 for ArcGIS | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For my forms when doing a species list I use a repeat.&amp;nbsp; Much better database structure to have one species per record vs a ; separated list.&amp;nbsp; Hard to do analysis on that.&amp;nbsp; Our legacy program does this and we ended up separating them out.&amp;nbsp; It also allows me to check for dups, and have unknown codes all built in.&amp;nbsp; I have posted this before if you need it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2020 13:20:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/counting-repeat-select-multiple-answers/m-p/795611#M9394</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2020-06-03T13:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Counting repeat select_multiple answers</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/counting-repeat-select-multiple-answers/m-p/1132201#M39649</link>
      <description>&lt;P&gt;I have a related question. I have a survey that requires the user to list off all species present and give the cover for each. That's all in a repeat. I would like to show the user what species were selected in the set of repeats, but can I generate a list of species names outside the repeat that shows the label, not the name? My species list has a code for the name and the label spells out the Genus/species and I'd like to show the label, preferably with spaces between names so the user can check that they have entered data for every species present.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jan 2022 20:55:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/counting-repeat-select-multiple-answers/m-p/1132201#M39649</guid>
      <dc:creator>Emily1</dc:creator>
      <dc:date>2022-01-10T20:55:05Z</dc:date>
    </item>
  </channel>
</rss>

