<?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 Order Repeat in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-order-repeat/m-p/1342399#M52542</link>
    <description>&lt;P&gt;Could you add another (hidden) field that would convert it *back* to an integer, to use for sorting?&lt;/P&gt;</description>
    <pubDate>Thu, 26 Oct 2023 22:18:04 GMT</pubDate>
    <dc:creator>Katie_Clark</dc:creator>
    <dc:date>2023-10-26T22:18:04Z</dc:date>
    <item>
      <title>Feature Report Order Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-order-repeat/m-p/1340535#M52480</link>
      <description>&lt;P&gt;In Feature Reports, is there a way to order a repeat by a number field that doesn't result in: 1, 10, 11, 2, 3, ..., 9&lt;/P&gt;&lt;P&gt;I found a way to trick this into working the way I want and how users expect it to work. But this solution is just silly:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1698075178590.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83720i37CFE1D8BDFA21AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1698075178590.png" alt="abureaux_1-1698075178590.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It takes 21 rows to sort 1000 items.&lt;/P&gt;&lt;P&gt;Is there an easier way to do this?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 15:51:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-order-repeat/m-p/1340535#M52480</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2023-10-23T15:51:18Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Report Order Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-order-repeat/m-p/1340553#M52482</link>
      <description>&lt;P&gt;Could you elaborate more on the workaround you found? I need to do something similar - users enter values for percent cover within a repeat in any order, but in the final report I need them printed in descending order. Could your workaround be used for that?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 16:27:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-order-repeat/m-p/1340553#M52482</guid>
      <dc:creator>Katie_Clark</dc:creator>
      <dc:date>2023-10-23T16:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Report Order Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-order-repeat/m-p/1340627#M52485</link>
      <description>&lt;P&gt;Sure! Hopefully this is easier to read:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1698086764522.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83741i18390DF8AA5883E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1698086764522.png" alt="abureaux_0-1698086764522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For my first attempt, I used "orderByFields" as-is, with the result I am sure you are familiar with (e.g., 1,10,11,2,...,9).&lt;/P&gt;&lt;P&gt;For my second attempt, I combined "orderByFields" with an IF statement to filter out all of the rows I didn't want. While more tedious, this does give the expected result (e.g., 1,...,9,10,11)&lt;/P&gt;&lt;P&gt;In my case, I have a numeric field (rtv_num) that starts from 1 and counts up by 1 for every ever item in the repeat. This is what the orderByFields is based off of, and what I am using for my filter:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1698087109293.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83742iAF501A511B8C1D82/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1698087109293.png" alt="abureaux_1-1698087109293.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And of course, if there is nothing in a given number range, those rows are deleted from the table for a clean final appearance.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 18:55:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-order-repeat/m-p/1340627#M52485</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2023-10-23T18:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Report Order Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-order-repeat/m-p/1341328#M52515</link>
      <description>&lt;P&gt;So,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/454586"&gt;@abureaux&lt;/a&gt;&amp;nbsp;to address your initial question, I tested this syntax with my survey, and it sorted as expected for numeric values (this was actually my first time trying this syntax, thanks for reminding me about it!)&lt;/P&gt;&lt;P&gt;Anyway, as you can see in this screenshot, they are definitely sorted descending by number, as intended.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Katherine_Clark_0-1698239324820.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83926i03CEFE6F3BC3A117/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Katherine_Clark_0-1698239324820.png" alt="Katherine_Clark_0-1698239324820.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my case, I am sorted descending based on an &lt;STRONG&gt;integer&lt;/STRONG&gt; type field. What field type is ${rtv_num} in your survey?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Oct 2023 13:10:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-order-repeat/m-p/1341328#M52515</guid>
      <dc:creator>Katie_Clark</dc:creator>
      <dc:date>2023-10-25T13:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Report Order Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-order-repeat/m-p/1342328#M52540</link>
      <description>&lt;P&gt;Ugh! So, it is an integer in the first repeat, but then converts to text in the second! As a result, half of my Feature Report was fine. This change was made after the survey was published, so the second field was missed since it is quite buried and only needed in the Feature Report.&lt;/P&gt;&lt;P&gt;Well, at least I now have a way to neatly organize "numbers as text" in the Feature Report!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 20:32:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-order-repeat/m-p/1342328#M52540</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2023-10-26T20:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Report Order Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-order-repeat/m-p/1342399#M52542</link>
      <description>&lt;P&gt;Could you add another (hidden) field that would convert it *back* to an integer, to use for sorting?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2023 22:18:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-order-repeat/m-p/1342399#M52542</guid>
      <dc:creator>Katie_Clark</dc:creator>
      <dc:date>2023-10-26T22:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Feature Report Order Repeat</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-order-repeat/m-p/1342655#M52550</link>
      <description>&lt;P&gt;Yep! That was my plan. Will be pushing the update this weekend, actually.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2023 14:16:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/feature-report-order-repeat/m-p/1342655#M52550</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2023-10-27T14:16:13Z</dc:date>
    </item>
  </channel>
</rss>

