<?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: Survey123: way to create 'count' field in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864230#M26587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I was thinking - to use another field to sum the records. So I guess I will have to wait for the sum function - is it in the new beta version? Another thing is the nested repeats don't seem to be working right - if I start a 'plots' repeat for example, and within that place a 'samples' repeat, so that I want the individual samples to be allocated to a particular&amp;nbsp;plot, but the survey result is that it duplicates each&amp;nbsp;sample for each plot. So 4 plots with 14, 16, 18, and 20 samples becomes 4 plots with 68 samples each in the output. Is it a problem with my xls form, or is there any way to accomplish this in the current version of S123? Or should I ask this as a new question? Thanks James - cob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Feb 2017 16:45:13 GMT</pubDate>
    <dc:creator>CharlesBailey3</dc:creator>
    <dc:date>2017-02-28T16:45:13Z</dc:date>
    <item>
      <title>Survey123: way to create 'count' field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864226#M26583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This seems pretty simple, must be missing something - how would I create a 'calculate' field in survey123 to count the number of submitted records that meet a certain criteria (e.g. ${defects}='n') to use in another calculation? The count function in S123 seems to apply to the number of multi-select responses... is there another way? Thanks, cob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 18:03:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864226#M26583</guid>
      <dc:creator>CharlesBailey3</dc:creator>
      <dc:date>2017-02-27T18:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: way to create 'count' field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864227#M26584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To clarify, are you asking for the number of repeats within a form that have an answer of a certain value? &amp;nbsp;If so, we don't have support for that functionality; additionally, I don't think&amp;nbsp;the XLSform specification has a good way to evaluate that- there is a function for to get the answer at a specific repeat number and some functions that are evaluated over repeats, but not one that can pass a function to test at repeats.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 19:06:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864227#M26584</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-02-27T19:06:00Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: way to create 'count' field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864228#M26585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks James - that is indeed what I need. What gets me is I can see the repeats increment in the form preview, so it has to be in the table somewhere at that point. Is there any other way you know to sum or count the number of records (or I guess I should say the number of repeats) and display a calculation on that to the form user?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 19:15:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864228#M26585</guid>
      <dc:creator>CharlesBailey3</dc:creator>
      <dc:date>2017-02-27T19:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: way to create 'count' field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864229#M26586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Charles,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count and Sum functions are in the XLSForm spec (which is what we use as the design specification of Survey123), however they have not been implemented yet in Survey123. &amp;nbsp;The case you described of doing a conditional count (if&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;${defects}='n', add 1, else add 0) is more complicated; once the sum function is implemented, you could do this by creating an additional calculate question in the repeat that accomplishes the test with a 1/0 result and then sum that question.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 00:22:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864229#M26586</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-02-28T00:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: way to create 'count' field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864230#M26587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's what I was thinking - to use another field to sum the records. So I guess I will have to wait for the sum function - is it in the new beta version? Another thing is the nested repeats don't seem to be working right - if I start a 'plots' repeat for example, and within that place a 'samples' repeat, so that I want the individual samples to be allocated to a particular&amp;nbsp;plot, but the survey result is that it duplicates each&amp;nbsp;sample for each plot. So 4 plots with 14, 16, 18, and 20 samples becomes 4 plots with 68 samples each in the output. Is it a problem with my xls form, or is there any way to accomplish this in the current version of S123? Or should I ask this as a new question? Thanks James - cob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 16:45:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864230#M26587</guid>
      <dc:creator>CharlesBailey3</dc:creator>
      <dc:date>2017-02-28T16:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: way to create 'count' field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864231#M26588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/JTedrick-esristaff"&gt;JTedrick-esristaff&lt;/A&gt;‌, what is the time frame for the Sum and Count functions to be available? I was hoping to be able to get a count on some of my repeat questions to calculate a running score for the whole survey. Since you can set a maximum number of repeats they are being counted somewhere, how can i get to that count?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 17:44:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864231#M26588</guid>
      <dc:creator>JeffWard</dc:creator>
      <dc:date>2017-04-20T17:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: way to create 'count' field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864232#M26589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We hope to have the sum and count in Survey123 before UC. &amp;nbsp;I'd encourage you to join the Early Adopter Community (&lt;A href="https://bit.ly/Survey123beta"&gt;https://bit.ly/Survey123beta&lt;/A&gt;) if you haven't already to be able to test as we develop the feature.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 17:11:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864232#M26589</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-04-24T17:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: way to create 'count' field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864233#M26590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sharing a sample XLSForm illustrating&amp;nbsp; use of count() and sum().&lt;/P&gt;&lt;P&gt;Added in version 2.1 &lt;A href="https://community.esri.com/groups/survey123/blog/2017/06/02/world-milk-day-release-21"&gt;https://community.esri.com/groups/survey123/blog/2017/06/02/world-milk-day-release-21&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2018 03:05:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/864233#M26590</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2018-04-11T03:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123: way to create 'count' field</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/1542673#M59358</link>
      <description>&lt;P&gt;And for date? Do you have a example of that?&lt;/P&gt;&lt;P&gt;Like&lt;/P&gt;&lt;P&gt;"Start of works - 09/18/2024&lt;/P&gt;&lt;P&gt;Today - 7 days of work"&lt;/P&gt;</description>
      <pubDate>Wed, 25 Sep 2024 19:47:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-way-to-create-count-field/m-p/1542673#M59358</guid>
      <dc:creator>DPU-SMAMUS</dc:creator>
      <dc:date>2024-09-25T19:47:33Z</dc:date>
    </item>
  </channel>
</rss>

