<?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: Feature Report &amp;gt; Nested Repeat &amp;gt; getValue only counts 1 in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-gt-nested-repeat-gt-getvalue-only/m-p/1372562#M54160</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Solution please. How to enumerate "item of total items" in repeat.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jan 2024 21:49:31 GMT</pubDate>
    <dc:creator>johnbel</dc:creator>
    <dc:date>2024-01-19T21:49:31Z</dc:date>
    <item>
      <title>Feature Report &gt; Nested Repeat &gt; getValue only counts 1</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-gt-nested-repeat-gt-getvalue-only/m-p/1238951#M46405</link>
      <description>&lt;P&gt;Is it possible to count the number of iterations for a repeat when the expression is placed between the repeat start and end tags?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Conditions&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;In my survey, I have a nested repeat for "lines" within a "transect."&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my feature report, I would like to have a header which states the 'line number' of 'number of lines.' For example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NicholasDay_0-1670451485250.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/57908i810C2EE8EBF4F548/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NicholasDay_0-1670451485250.png" alt="NicholasDay_0-1670451485250.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the feature report, the expression&amp;nbsp;${if (&lt;STRONG&gt;transect_rp | getValue:"count"&lt;/STRONG&gt;)&amp;gt;1} works properly when not within any repeat start and end tags. Once placed between the tags (see screenshot below), the count always returns "1" so that I end up with headers like "Line Number: 2 of 1."&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NicholasDay_1-1670451739563.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/57909i5C797D8480822A62/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NicholasDay_1-1670451739563.png" alt="NicholasDay_1-1670451739563.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It makes sense that "1" is returned when running the count within the repeat being counted. To alleviate this, I tried using the $layers expression to change the parsing scope, but it did not make any difference.&amp;nbsp;Is it possible to count the number of iterations for a repeat when the expression is placed between the repeat start and end tags? The alternative is to include the calculation in S123.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 22:43:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-gt-nested-repeat-gt-getvalue-only/m-p/1238951#M46405</guid>
      <dc:creator>NicholasDay</dc:creator>
      <dc:date>2022-12-07T22:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Report &gt; Nested Repeat &gt; getValue only counts 1</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-gt-nested-repeat-gt-getvalue-only/m-p/1372560#M54159</link>
      <description>&lt;P&gt;Solution please. How to enumerate "item of total items" in repeat.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 21:49:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-gt-nested-repeat-gt-getvalue-only/m-p/1372560#M54159</guid>
      <dc:creator>johnbel</dc:creator>
      <dc:date>2024-01-19T21:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Report &gt; Nested Repeat &gt; getValue only counts 1</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-gt-nested-repeat-gt-getvalue-only/m-p/1372562#M54160</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Solution please. How to enumerate "item of total items" in repeat.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 21:49:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-gt-nested-repeat-gt-getvalue-only/m-p/1372562#M54160</guid>
      <dc:creator>johnbel</dc:creator>
      <dc:date>2024-01-19T21:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Report &gt; Nested Repeat &gt; getValue only counts 1</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-gt-nested-repeat-gt-getvalue-only/m-p/1595599#M61667</link>
      <description>&lt;P&gt;Was there ever a solution for this? I have the same issue.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 14:54:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-gt-nested-repeat-gt-getvalue-only/m-p/1595599#M61667</guid>
      <dc:creator>RHammers</dc:creator>
      <dc:date>2025-03-14T14:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Report &gt; Nested Repeat &gt; getValue only counts 1</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-gt-nested-repeat-gt-getvalue-only/m-p/1595646#M61670</link>
      <description>&lt;P&gt;I was able to get it to work by doing the following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;${#transect_rp}Line Number: ${line_nu} of ${$layers[0].count_transect_rp}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NicholasDay_0-1741969156188.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/127952i9F1D0D98FBE90874/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NicholasDay_0-1741969156188.png" alt="NicholasDay_0-1741969156188.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 16:20:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-gt-nested-repeat-gt-getvalue-only/m-p/1595646#M61670</guid>
      <dc:creator>NicholasDay</dc:creator>
      <dc:date>2025-03-14T16:20:13Z</dc:date>
    </item>
  </channel>
</rss>

