<?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 How to get unique/distinct values from dynamic choice list? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-get-unique-distinct-values-from-dynamic/m-p/1287222#M49124</link>
    <description>&lt;P&gt;I have a csv used to dynamically auto-populate the choice lists. The same csv is used for multiple lists and hence there are duplicate values. How can the list be limited to distinct/unique values? I tried combining both DISTINCT &amp;amp; UNIQUE with the search() but neither worked so I either have the syntax incorrect or am using the wrong thing. The spreadsheet is attached. Is there a way to do this without breaking it into multiple csv files with unique values or creating lists in the choices tab?&lt;/P&gt;&lt;P&gt;Workflow:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Select System&lt;/LI&gt;&lt;LI&gt;Based on System, select Class: autocomplete search('groups','matches','ecgSystem',${system})&lt;/LI&gt;&lt;LI&gt;Based on Class, select Ecological Group: autocomplete search('groups','matches','ecgClass',${class})&lt;/LI&gt;&lt;LI&gt;Based on Ecological Group, select Community Type:&amp;nbsp; autocomplete search('groups','matches','ecgName',${ecological_group})&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Tue, 09 May 2023 13:24:51 GMT</pubDate>
    <dc:creator>WhitneyWeber</dc:creator>
    <dc:date>2023-05-09T13:24:51Z</dc:date>
    <item>
      <title>How to get unique/distinct values from dynamic choice list?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-get-unique-distinct-values-from-dynamic/m-p/1287222#M49124</link>
      <description>&lt;P&gt;I have a csv used to dynamically auto-populate the choice lists. The same csv is used for multiple lists and hence there are duplicate values. How can the list be limited to distinct/unique values? I tried combining both DISTINCT &amp;amp; UNIQUE with the search() but neither worked so I either have the syntax incorrect or am using the wrong thing. The spreadsheet is attached. Is there a way to do this without breaking it into multiple csv files with unique values or creating lists in the choices tab?&lt;/P&gt;&lt;P&gt;Workflow:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Select System&lt;/LI&gt;&lt;LI&gt;Based on System, select Class: autocomplete search('groups','matches','ecgSystem',${system})&lt;/LI&gt;&lt;LI&gt;Based on Class, select Ecological Group: autocomplete search('groups','matches','ecgClass',${class})&lt;/LI&gt;&lt;LI&gt;Based on Ecological Group, select Community Type:&amp;nbsp; autocomplete search('groups','matches','ecgName',${ecological_group})&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 09 May 2023 13:24:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-get-unique-distinct-values-from-dynamic/m-p/1287222#M49124</guid>
      <dc:creator>WhitneyWeber</dc:creator>
      <dc:date>2023-05-09T13:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to get unique/distinct values from dynamic choice list?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-get-unique-distinct-values-from-dynamic/m-p/1287278#M49130</link>
      <description>&lt;P&gt;Not that I am aware of.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 15:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-get-unique-distinct-values-from-dynamic/m-p/1287278#M49130</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2023-05-09T15:16:50Z</dc:date>
    </item>
  </channel>
</rss>

