<?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: Using answers to multiple-select  question in calculation of another question in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/using-answers-to-multiple-select-question-in/m-p/1098710#M37205</link>
    <description>&lt;P&gt;I think contains would be your friend here.&lt;/P&gt;&lt;P&gt;if(contains(${selectmultiplefield}, "Rainwater") and&amp;nbsp;contains(${selectmultiplefield}, "Stormwater"),&amp;nbsp;${RW} + ${SW}, else not sure what you want here)&lt;/P&gt;&lt;P&gt;You could also always calc it and instead use relevant to show the whole field it only if they are checked.&amp;nbsp; The relevant would use contains just like above.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
    <pubDate>Wed, 15 Sep 2021 22:14:24 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2021-09-15T22:14:24Z</dc:date>
    <item>
      <title>Using answers to multiple-select  question in calculation of another question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/using-answers-to-multiple-select-question-in/m-p/1098704#M37204</link>
      <description>&lt;P&gt;I have a select multiple question, where a submitter selects all the alternative water supplies they will use on their site. Then I want to calculate total supply they have available on their site depending on the answers they select.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PrachiPatel_0-1631742872056.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23090i237C78D4786330C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PrachiPatel_0-1631742872056.png" alt="PrachiPatel_0-1631742872056.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For example in the screenshot above, if the submitter selects Rainwater and Stormwater, I want the rec_sav to have the calculated value of ${RW} + ${SW}. How do I format the calculation when it is dependent on the answers to multiple-select question that get stored as comma separated values?&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 21:59:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/using-answers-to-multiple-select-question-in/m-p/1098704#M37204</guid>
      <dc:creator>PrachiPatel</dc:creator>
      <dc:date>2021-09-15T21:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Using answers to multiple-select  question in calculation of another question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/using-answers-to-multiple-select-question-in/m-p/1098710#M37205</link>
      <description>&lt;P&gt;I think contains would be your friend here.&lt;/P&gt;&lt;P&gt;if(contains(${selectmultiplefield}, "Rainwater") and&amp;nbsp;contains(${selectmultiplefield}, "Stormwater"),&amp;nbsp;${RW} + ${SW}, else not sure what you want here)&lt;/P&gt;&lt;P&gt;You could also always calc it and instead use relevant to show the whole field it only if they are checked.&amp;nbsp; The relevant would use contains just like above.&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 22:14:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/using-answers-to-multiple-select-question-in/m-p/1098710#M37205</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2021-09-15T22:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using answers to multiple-select  question in calculation of another question</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/using-answers-to-multiple-select-question-in/m-p/1098713#M37206</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/16421"&gt;@DougBrowning&lt;/a&gt;&amp;nbsp;Worked like a charm, Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 22:19:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/using-answers-to-multiple-select-question-in/m-p/1098713#M37206</guid>
      <dc:creator>PrachiPatel</dc:creator>
      <dc:date>2021-09-15T22:19:27Z</dc:date>
    </item>
  </channel>
</rss>

