<?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: Survey Output Report Code Includes Values to Exclude in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-output-report-code-includes-values-to/m-p/1636092#M63512</link>
    <description>&lt;P&gt;I don't think the report template itself can do math and I am not seeing anything in what you provided that suggests the math is happening there.&amp;nbsp; Can your share an example of your xlsx, so we can see the calculation for the number of failed inspections.&amp;nbsp; It appears there is a field in the form, maybe hidden from the form itself, that makes that calculation.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jul 2025 18:39:05 GMT</pubDate>
    <dc:creator>Neal_t_k</dc:creator>
    <dc:date>2025-07-24T18:39:05Z</dc:date>
    <item>
      <title>Survey Output Report Code Includes Values to Exclude</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-output-report-code-includes-values-to/m-p/1636038#M63504</link>
      <description>&lt;P&gt;Howdy folks,&lt;/P&gt;&lt;P&gt;This is kind of hard to explain, but I'm going to do my best. Also, my apologies if this isn't the right board for this.&lt;/P&gt;&lt;P&gt;My predecessor set up a survey in Survey123 to help manage fire inspections, and as part of that, we have some word documents set up to generate a report to provide to our inspectors and "inspectees" after we finish an inspection. There are three options for each section of the inspection-- Pass (0), Fail (1), or Repaired (2). Repaired is used when something used to be a Fail but has passed reinspection.&lt;/P&gt;&lt;P&gt;We have some coding in the document&amp;nbsp;report to add up the number of violations, but it is currently adding the "Repaired" items along with the "Failed"-- we only want it to add the Failed items. How would I change the coding in the report to only add up the Fail responses in the number of violations?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SamanthaHuggett_0-1753377820559.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/137146iAAA31801A67E9800/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SamanthaHuggett_0-1753377820559.png" alt="SamanthaHuggett_0-1753377820559.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for any advice or instruction!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT: The excel file has now been attached.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 31 Jul 2025 21:19:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-output-report-code-includes-values-to/m-p/1636038#M63504</guid>
      <dc:creator>SamanthaHuggett</dc:creator>
      <dc:date>2025-07-31T21:19:27Z</dc:date>
    </item>
    <item>
      <title>Re: Survey Output Report Code Includes Values to Exclude</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-output-report-code-includes-values-to/m-p/1636092#M63512</link>
      <description>&lt;P&gt;I don't think the report template itself can do math and I am not seeing anything in what you provided that suggests the math is happening there.&amp;nbsp; Can your share an example of your xlsx, so we can see the calculation for the number of failed inspections.&amp;nbsp; It appears there is a field in the form, maybe hidden from the form itself, that makes that calculation.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 18:39:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-output-report-code-includes-values-to/m-p/1636092#M63512</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2025-07-24T18:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Survey Output Report Code Includes Values to Exclude</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-output-report-code-includes-values-to/m-p/1636099#M63513</link>
      <description>&lt;P&gt;So are you saying that you are certain the ${numberofviolationnotes} variable is a field in a feature class that is populated/calculated by a Survey123 form? Do you have access to the Survey123 design? Do you know if it was made using Survey123 Connect, or just the standard AGOL Survey123 design tools?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 18:53:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-output-report-code-includes-values-to/m-p/1636099#M63513</guid>
      <dc:creator>CalvinHarmin</dc:creator>
      <dc:date>2025-07-24T18:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: Survey Output Report Code Includes Values to Exclude</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey-output-report-code-includes-values-to/m-p/1637622#M63586</link>
      <description>&lt;P&gt;I have attached a copy of the xlsx. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jul 2025 14:29:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey-output-report-code-includes-values-to/m-p/1637622#M63586</guid>
      <dc:creator>SamanthaHuggett</dc:creator>
      <dc:date>2025-07-30T14:29:29Z</dc:date>
    </item>
  </channel>
</rss>

