<?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 Sum repeat is causing a empty data entry for the first repeat in the feature service in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/sum-repeat-is-causing-a-empty-data-entry-for-the/m-p/1336947#M52214</link>
    <description>&lt;P&gt;Hi, I have a repeat and am totaling based on which species is selected and if they select disease. Currently I have a field within the repeat with the calculation CalcACERCondition:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(selected(${SpeciesType},'Acropora cervicornis') and selected(${GridCondition},'DiseasePresent'), 1, 0)&lt;/P&gt;&lt;P&gt;I then have a field outside of the repeat that sums those "1" values with calculation:&amp;nbsp;sum(${CalcACERCondition})&lt;/P&gt;&lt;P&gt;In my feature service the first repeat is always blank and then the repeats follow. I heard previously this occurs when doing calculations within a repeat. Is there a way to get around this so there are no blank repeat entries?&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
    <pubDate>Wed, 11 Oct 2023 15:17:12 GMT</pubDate>
    <dc:creator>NatalieSlayden</dc:creator>
    <dc:date>2023-10-11T15:17:12Z</dc:date>
    <item>
      <title>Sum repeat is causing a empty data entry for the first repeat in the feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sum-repeat-is-causing-a-empty-data-entry-for-the/m-p/1336947#M52214</link>
      <description>&lt;P&gt;Hi, I have a repeat and am totaling based on which species is selected and if they select disease. Currently I have a field within the repeat with the calculation CalcACERCondition:&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(selected(${SpeciesType},'Acropora cervicornis') and selected(${GridCondition},'DiseasePresent'), 1, 0)&lt;/P&gt;&lt;P&gt;I then have a field outside of the repeat that sums those "1" values with calculation:&amp;nbsp;sum(${CalcACERCondition})&lt;/P&gt;&lt;P&gt;In my feature service the first repeat is always blank and then the repeats follow. I heard previously this occurs when doing calculations within a repeat. Is there a way to get around this so there are no blank repeat entries?&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 15:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sum-repeat-is-causing-a-empty-data-entry-for-the/m-p/1336947#M52214</guid>
      <dc:creator>NatalieSlayden</dc:creator>
      <dc:date>2023-10-11T15:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sum repeat is causing a empty data entry for the first repeat in the feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sum-repeat-is-causing-a-empty-data-entry-for-the/m-p/1336955#M52215</link>
      <description>&lt;P&gt;Have you tried putting a relevant on the calc line tied to the&amp;nbsp;&lt;SPAN&gt;SpeciesType field?&amp;nbsp; I have seen the blank lines also.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 15:27:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sum-repeat-is-causing-a-empty-data-entry-for-the/m-p/1336955#M52215</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-10-11T15:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: Sum repeat is causing a empty data entry for the first repeat in the feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sum-repeat-is-causing-a-empty-data-entry-for-the/m-p/1337037#M52221</link>
      <description>&lt;P&gt;I was not able to get that to work. It seems like when you sum a repeat it automatically sums first entry before you even select anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 17:37:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sum-repeat-is-causing-a-empty-data-entry-for-the/m-p/1337037#M52221</guid>
      <dc:creator>NatalieSlayden</dc:creator>
      <dc:date>2023-10-11T17:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sum repeat is causing a empty data entry for the first repeat in the feature service</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/sum-repeat-is-causing-a-empty-data-entry-for-the/m-p/1337071#M52222</link>
      <description>&lt;P&gt;Mmm for one project I did add a if(count() &amp;gt; 0 or count() &amp;gt; 1 I forget that got around this. Or maybe a relevant on the sum field?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 19:43:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/sum-repeat-is-causing-a-empty-data-entry-for-the/m-p/1337071#M52222</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2023-10-11T19:43:25Z</dc:date>
    </item>
  </channel>
</rss>

