<?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: Select_Multiple and Field Calculations in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-and-field-calculations/m-p/783890#M6765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh look at me go! I answered my own question. I had a field called "Hazard Rating" that I was trying to automatically calculate based on a multiple_select question called "Fail_Potential". In the calculation for Hazard Rating I put this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(count-selected(${Fail_Potential}) = 1, ‘0’, if(count-selected(${Fail_Potential})&amp;gt;1, ‘1’, ${Fail_Potential}))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND IT WORKS!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 Nov 2018 21:45:30 GMT</pubDate>
    <dc:creator>deleted-user-jxpbpbjlZInj</dc:creator>
    <dc:date>2018-11-30T21:45:30Z</dc:date>
    <item>
      <title>Select_Multiple and Field Calculations</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-and-field-calculations/m-p/783889#M6764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a select_multiple question in my Survey123 where a field worker can select multiple defects on a tree. Then, a later question asks if there are multiple defects on the tree. If yes, then that gets a score of 1. If it's just one defect, that gets a score of 0.&lt;BR /&gt;&lt;BR /&gt;I want this question to automatically calculate based on the select_multiple for tree defects. How would I calculate this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2018 21:28:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-and-field-calculations/m-p/783889#M6764</guid>
      <dc:creator>deleted-user-jxpbpbjlZInj</dc:creator>
      <dc:date>2018-11-30T21:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: Select_Multiple and Field Calculations</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-and-field-calculations/m-p/783890#M6765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh look at me go! I answered my own question. I had a field called "Hazard Rating" that I was trying to automatically calculate based on a multiple_select question called "Fail_Potential". In the calculation for Hazard Rating I put this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(count-selected(${Fail_Potential}) = 1, ‘0’, if(count-selected(${Fail_Potential})&amp;gt;1, ‘1’, ${Fail_Potential}))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND IT WORKS!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Nov 2018 21:45:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/select-multiple-and-field-calculations/m-p/783890#M6765</guid>
      <dc:creator>deleted-user-jxpbpbjlZInj</dc:creator>
      <dc:date>2018-11-30T21:45:30Z</dc:date>
    </item>
  </channel>
</rss>

