<?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: Pulling a singular entry from a repeat into a report in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/pulling-a-singular-entry-from-a-repeat-into-a/m-p/1597014#M61755</link>
    <description>&lt;P&gt;Hi GusC&lt;/P&gt;&lt;P&gt;You can capture the 2nd value &lt;STRONG&gt;(indexed-repeat(${fp_name}, ${fw_pump_test}, 2)&lt;/STRONG&gt; on a hidden question and pull that on the report.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Mar 2025 12:41:19 GMT</pubDate>
    <dc:creator>JoseBarrios1</dc:creator>
    <dc:date>2025-03-19T12:41:19Z</dc:date>
    <item>
      <title>Pulling a singular entry from a repeat into a report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulling-a-singular-entry-from-a-repeat-into-a/m-p/1596833#M61739</link>
      <description>&lt;P&gt;Hi, is it possible to reference a given iteration from a repeat in a report?&lt;/P&gt;&lt;P&gt;I have a repeat ${fw_pump_test}, which includes the question ${fp_name}. There are three iterations of this repeat input into the form. I would like to reference only the second instance of ${fp_name} in a sentence in a report.&lt;/P&gt;&lt;P&gt;I have tried:&amp;nbsp;&lt;/P&gt;&lt;P&gt;${#fw_pump_test | resultRecordCount:2} ${fp_name} ${/}&amp;nbsp;&lt;/P&gt;&lt;P&gt;But this pulls through both the first and second instances. Is there a way to get just the second response?&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 21:42:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulling-a-singular-entry-from-a-repeat-into-a/m-p/1596833#M61739</guid>
      <dc:creator>GusC</dc:creator>
      <dc:date>2025-03-18T21:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling a singular entry from a repeat into a report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulling-a-singular-entry-from-a-repeat-into-a/m-p/1597014#M61755</link>
      <description>&lt;P&gt;Hi GusC&lt;/P&gt;&lt;P&gt;You can capture the 2nd value &lt;STRONG&gt;(indexed-repeat(${fp_name}, ${fw_pump_test}, 2)&lt;/STRONG&gt; on a hidden question and pull that on the report.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 12:41:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulling-a-singular-entry-from-a-repeat-into-a/m-p/1597014#M61755</guid>
      <dc:creator>JoseBarrios1</dc:creator>
      <dc:date>2025-03-19T12:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pulling a singular entry from a repeat into a report</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/pulling-a-singular-entry-from-a-repeat-into-a/m-p/1597737#M61792</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/148920"&gt;@JoseBarrios1&lt;/a&gt;has already provided the correct way of doing this within the Survey itself.&lt;/P&gt;&lt;P&gt;As for the Feature Report, that is expected behaviour for &lt;STRONG&gt;resultRecordCount&lt;/STRONG&gt;. It pulls all records &lt;EM&gt;up to&lt;/EM&gt; the specified record. In other words, that is the total number of records to print.&lt;/P&gt;&lt;P&gt;To get &lt;EM&gt;just&lt;/EM&gt; the specified record to show, you can use&amp;nbsp;the &lt;STRONG&gt;where&lt;/STRONG&gt; function. Should look something like:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;${#fw_pump_test | where:"fw_pump_test_index='2'"} ${fp_name} ${/} &lt;/LI-CODE&gt;&lt;P&gt;To use "where" in this case, you would still need an indexed repeat, which means updating the survey. I don't think there is a way to get repeat count into the where clause... that said, there is a dedicated function to &lt;EM&gt;display&lt;/EM&gt; which repeat index you are on (not really helpful in this case though):&lt;/P&gt;&lt;PRE&gt;${$feature | getValue: "position"}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;If you want to add an index to your repeat, add a calculate with &lt;STRONG&gt;position(..)&lt;/STRONG&gt; to your repeat:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1742499087666.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/128410i4AB7F924CD15F5AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1742499087666.png" alt="abureaux_0-1742499087666.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 19:31:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/pulling-a-singular-entry-from-a-repeat-into-a/m-p/1597737#M61792</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2025-03-20T19:31:57Z</dc:date>
    </item>
  </channel>
</rss>

