<?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 Create report for the last repeat only - help with syntax in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/create-report-for-the-last-repeat-only-help-with/m-p/1149155#M40920</link>
    <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create a report the prints only the last repeat submitted.&lt;/P&gt;&lt;P&gt;I am implementing the flow in Integromat but what I get as attachment is all the inspections contained in the repeat:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose it should be something like the following but, of course, it is wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;${#Repeat | stats:max,surveyDate}&amp;nbsp;&lt;/P&gt;&lt;P&gt;${/}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2022 16:28:02 GMT</pubDate>
    <dc:creator>PanGIS</dc:creator>
    <dc:date>2022-03-01T16:28:02Z</dc:date>
    <item>
      <title>Create report for the last repeat only - help with syntax</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/create-report-for-the-last-repeat-only-help-with/m-p/1149155#M40920</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to create a report the prints only the last repeat submitted.&lt;/P&gt;&lt;P&gt;I am implementing the flow in Integromat but what I get as attachment is all the inspections contained in the repeat:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suppose it should be something like the following but, of course, it is wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;${#Repeat | stats:max,surveyDate}&amp;nbsp;&lt;/P&gt;&lt;P&gt;${/}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 16:28:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/create-report-for-the-last-repeat-only-help-with/m-p/1149155#M40920</guid>
      <dc:creator>PanGIS</dc:creator>
      <dc:date>2022-03-01T16:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Create report for the last repeat only - help with syntax</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/create-report-for-the-last-repeat-only-help-with/m-p/1149259#M40928</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe this will do it for you (or get you close)&lt;/P&gt;&lt;P&gt;${#repeat_name | orderByFields:"ObjectID DESC" | resultRecordCount:1}&amp;nbsp; ${field_in_repeat} ${/}&lt;/P&gt;&lt;P&gt;This will print out the records in "repeat_name" in descending order by ObjectID, with a maximum of 1 record returned.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 19:44:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/create-report-for-the-last-repeat-only-help-with/m-p/1149259#M40928</guid>
      <dc:creator>DerrickWestoby</dc:creator>
      <dc:date>2022-03-01T19:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create report for the last repeat only - help with syntax</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/create-report-for-the-last-repeat-only-help-with/m-p/1149529#M40950</link>
      <description>&lt;P&gt;Fantastic Derrick, it worked!&lt;/P&gt;&lt;P&gt;With you example you also pointed me out to the right documentation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 13:05:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/create-report-for-the-last-repeat-only-help-with/m-p/1149529#M40950</guid>
      <dc:creator>PanGIS</dc:creator>
      <dc:date>2022-03-02T13:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create report for the last repeat only - help with syntax</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/create-report-for-the-last-repeat-only-help-with/m-p/1149675#M40958</link>
      <description>&lt;P&gt;You're welcome!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get in the habit of searching for&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2929"&gt;@IsmaelChivite&lt;/a&gt;&amp;nbsp;'s Survey123 blog posts as well.&amp;nbsp; Assuming he's made one for the thing you're trying to accomplish, I find them a lot more helpful than some of the help docs.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 16:33:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/create-report-for-the-last-repeat-only-help-with/m-p/1149675#M40958</guid>
      <dc:creator>DerrickWestoby</dc:creator>
      <dc:date>2022-03-02T16:33:29Z</dc:date>
    </item>
  </channel>
</rss>

