<?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: Calculation not working in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-not-working/m-p/1389085#M55141</link>
    <description>&lt;P&gt;I think it is because you have CrimeObserved named differently in your "choices" sheet. There, it is just listed as "crime", so in your calculation, you'd have to write:&amp;nbsp;if(selected(${crime},'crime'),1, 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OR change the name in the choices sheet to 'crime observed'&lt;/P&gt;</description>
    <pubDate>Thu, 29 Feb 2024 20:33:08 GMT</pubDate>
    <dc:creator>dolson_farmington</dc:creator>
    <dc:date>2024-02-29T20:33:08Z</dc:date>
    <item>
      <title>Calculation not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-not-working/m-p/1389013#M55135</link>
      <description>&lt;P&gt;Still looking for the assistance of people smarter than I with this survey. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I got most of the calculations working, but there's one that just won't work. (I'm sure it's for a dumb reason). When selected, it does not calculate a value like it's supposed to. The bind is set to integer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alyssajhnsn_0-1709231671705.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/96347i4D15B94058D7D0B6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alyssajhnsn_0-1709231671705.png" alt="alyssajhnsn_0-1709231671705.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In Survey123, the value shows as 0 when the option for crimeobserved is selected.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="alyssajhnsn_1-1709231793071.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/96348i7BCF3479F0836C82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="alyssajhnsn_1-1709231793071.png" alt="alyssajhnsn_1-1709231793071.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The XLSForm is attached.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 18:40:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-not-working/m-p/1389013#M55135</guid>
      <dc:creator>alyssajhnsn</dc:creator>
      <dc:date>2024-02-29T18:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-not-working/m-p/1389085#M55141</link>
      <description>&lt;P&gt;I think it is because you have CrimeObserved named differently in your "choices" sheet. There, it is just listed as "crime", so in your calculation, you'd have to write:&amp;nbsp;if(selected(${crime},'crime'),1, 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OR change the name in the choices sheet to 'crime observed'&lt;/P&gt;</description>
      <pubDate>Thu, 29 Feb 2024 20:33:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-not-working/m-p/1389085#M55141</guid>
      <dc:creator>dolson_farmington</dc:creator>
      <dc:date>2024-02-29T20:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation not working</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/calculation-not-working/m-p/1389349#M55152</link>
      <description>&lt;P&gt;Definitely this. 'crimeobserved' isn't a choice in the list, so it will always return 0.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 09:15:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/calculation-not-working/m-p/1389349#M55152</guid>
      <dc:creator>TylerGraham2</dc:creator>
      <dc:date>2024-03-01T09:15:27Z</dc:date>
    </item>
  </channel>
</rss>

