<?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: How to return unique values from the field/column of table fgdB? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1652459#M99117</link>
    <description>&lt;P&gt;Please excuse me, I was not able to answer you yesterday. I experimented with more code syntax (see attached of your proposal), but without success. Thanks for your time, obviously I have to look for another solution. I also tried with 'join outer', FC and tables, the result was also unsuccessful&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;@&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/266337" target="_self"&gt;&lt;SPAN class=""&gt;AlyciaRajendran_esri&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;, please help!&lt;/P&gt;&lt;P&gt;BEST Regards!&lt;/P&gt;</description>
    <pubDate>Tue, 23 Sep 2025 14:43:19 GMT</pubDate>
    <dc:creator>BSBlagojevic</dc:creator>
    <dc:date>2025-09-23T14:43:19Z</dc:date>
    <item>
      <title>How to return unique values from the field/column of table fgdB?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651553#M99043</link>
      <description>&lt;P&gt;How to return unique values from the field/column of table fgdB which participates in the relationship 1:M? I need unique values for the related report. &lt;EM&gt;Distinct&lt;/EM&gt; keyword in Arcade does not do this on field/column (only on array, tested), and in SQL for file geodatabase this keyword is not supported!&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 17:24:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651553#M99043</guid>
      <dc:creator>BSBlagojevic</dc:creator>
      <dc:date>2025-09-18T17:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to return unique values from the field/column of table fgdB?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651562#M99045</link>
      <description>&lt;P&gt;You're using the incorrect syntax for the &lt;A href="https://developers.arcgis.com/arcade/function-reference/featureset_functions/#distinct" target="_self"&gt;Distinct&lt;/A&gt; function for a FeatureSet. It should be&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Distinct($layer, 'fieldName')
//or 
Distinct($layer, ['fieldName1', 'fieldName2'])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 17:55:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651562#M99045</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2025-09-18T17:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to return unique values from the field/column of table fgdB?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651650#M99049</link>
      <description>&lt;P&gt;THANK YOU for HELP! in both cases receive these messages (see screenshot below).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Sep 2025 21:16:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651650#M99049</guid>
      <dc:creator>BSBlagojevic</dc:creator>
      <dc:date>2025-09-18T21:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to return unique values from the field/column of table fgdB?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651748#M99065</link>
      <description>&lt;P&gt;What are you trying to do with this code? This affects what &lt;A href="https://developers.arcgis.com/arcade/profiles/" target="_self"&gt;profile&lt;/A&gt; variables and functions you're able to use in your code. For example, &lt;A href="https://developers.arcgis.com/arcade/profiles/labeling/" target="_self"&gt;labeling&lt;/A&gt; and &lt;A href="https://developers.arcgis.com/arcade/profiles/visualization/" target="_self"&gt;visualization&lt;/A&gt; gives you a very limited set of profile variables and function bundles for efficiency reasons, whereas &lt;A href="https://developers.arcgis.com/arcade/profiles/field-calculation/" target="_self"&gt;field calculations&lt;/A&gt; and &lt;A href="https://developers.arcgis.com/arcade/profiles/popups/" target="_self"&gt;popups&lt;/A&gt; give you more.&lt;/P&gt;&lt;P&gt;In any case, you can't use "$Kartirane geoloske jedinice", since that is not a FeatureSet variable.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 13:03:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651748#M99065</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2025-09-19T13:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to return unique values from the field/column of table fgdB?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651796#M99066</link>
      <description>&lt;P&gt;THANK YOU VERY MUCH!&amp;nbsp;In the first question I explained that I want to return unique values ​​from a field/column of the fgdB table that participates in a 1:M relationship, so that I can create a report. "$Kartirane geoloske jedinice"("$Mapped geological units") is an alias of FC/layer name, and ''Peferisana starost''(''Preferred age'') is the name (alias) of the field/column from which I need to return unique values.&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;P&gt;Branislav&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 15:15:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651796#M99066</guid>
      <dc:creator>BSBlagojevic</dc:creator>
      <dc:date>2025-09-19T15:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to return unique values from the field/column of table fgdB?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651825#M99068</link>
      <description>&lt;P&gt;The Distinct function for FeatureSets has the syntax&lt;/P&gt;&lt;H4&gt;Distinct(features, fields)&lt;/H4&gt;&lt;P&gt;with the "features" variable being a FeatureSet and the "fields" variable being either a single field name or an array of field names.&lt;/P&gt;&lt;P&gt;How you get the features variable depends on where you're using the Arcade code. It could be using the variable $datastore or $layer. Or you might need to get it from a function like&amp;nbsp;&lt;A href="https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyname" target="_self"&gt;FeatureSetByName&lt;/A&gt;&amp;nbsp;or&amp;nbsp;&lt;A href="https://developers.arcgis.com/arcade/function-reference/portal_functions/#featuresetbyportalitem" target="_self"&gt;FeatureSetByPortalItem&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What do you get if you use this in your code?&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Distinct($layer, "Peferisana starost")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 16:48:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651825#M99068</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2025-09-19T16:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to return unique values from the field/column of table fgdB?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651913#M99078</link>
      <description>&lt;P&gt;THANKS, and sorry for delay! See part of the &lt;EM&gt;original field&lt;/EM&gt; and equivalency&lt;EM&gt; what should be done &lt;/EM&gt;in attached screenshots.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Regards!&lt;/P&gt;&lt;P&gt;P.S. I used explicitly &lt;EM&gt;layer name&lt;/EM&gt;, &lt;EM&gt;field name&lt;/EM&gt; i.e. its aliases from/inside fgdB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 20:45:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651913#M99078</guid>
      <dc:creator>BSBlagojevic</dc:creator>
      <dc:date>2025-09-19T20:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to return unique values from the field/column of table fgdB?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651936#M99083</link>
      <description>&lt;P&gt;With my code&amp;nbsp;&lt;SPAN&gt;Distinct($layer, "Peferisana starost") result is&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BSBlagojevic_0-1758319972572.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/140742iA7BF26B785A3F417/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BSBlagojevic_0-1758319972572.png" alt="BSBlagojevic_0-1758319972572.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Branislav&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2025 22:15:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1651936#M99083</guid>
      <dc:creator>BSBlagojevic</dc:creator>
      <dc:date>2025-09-19T22:15:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to return unique values from the field/column of table fgdB?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1652090#M99092</link>
      <description>&lt;P&gt;You're using the layer name instead of "$layer"&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2025 13:14:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1652090#M99092</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2025-09-22T13:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to return unique values from the field/column of table fgdB?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1652459#M99117</link>
      <description>&lt;P&gt;Please excuse me, I was not able to answer you yesterday. I experimented with more code syntax (see attached of your proposal), but without success. Thanks for your time, obviously I have to look for another solution. I also tried with 'join outer', FC and tables, the result was also unsuccessful&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;@&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/266337" target="_self"&gt;&lt;SPAN class=""&gt;AlyciaRajendran_esri&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;, please help!&lt;/P&gt;&lt;P&gt;BEST Regards!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 14:43:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1652459#M99117</guid>
      <dc:creator>BSBlagojevic</dc:creator>
      <dc:date>2025-09-23T14:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to return unique values from the field/column of table fgdB?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1652474#M99124</link>
      <description>&lt;P&gt;This goes back to my previous post&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;How you get the features variable depends on where you're using the Arcade code. It could be using the variable $datastore or $layer. Or you might need to get it from a function like&amp;nbsp;&lt;A href="https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyname" target="_self" rel="nofollow noopener noreferrer"&gt;FeatureSetByName&lt;/A&gt;&amp;nbsp;or&amp;nbsp;&lt;A href="https://developers.arcgis.com/arcade/function-reference/portal_functions/#featuresetbyportalitem" target="_self" rel="nofollow noopener noreferrer"&gt;FeatureSetByPortalItem&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What happens when you use "$datastore"?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 15:16:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1652474#M99124</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2025-09-23T15:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to return unique values from the field/column of table fgdB?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1652519#M99127</link>
      <description>&lt;P&gt;Thanx! NOT PASS!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BSBlagojevic_0-1758645668060.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/140823iE696A1433A5C20FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BSBlagojevic_0-1758645668060.png" alt="BSBlagojevic_0-1758645668060.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 16:43:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1652519#M99127</guid>
      <dc:creator>BSBlagojevic</dc:creator>
      <dc:date>2025-09-23T16:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to return unique values from the field/column of table fgdB?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1652523#M99128</link>
      <description>&lt;P&gt;That code should be&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var features = FeatureSetByName($map, 'Kartirane geoloske jedinice', ['PreferisanaStarost'], true);
Distinct(features, 'PreferisanaStarost');&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 23 Sep 2025 16:52:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1652523#M99128</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2025-09-23T16:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to return unique values from the field/column of table fgdB?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1652535#M99129</link>
      <description>&lt;P&gt;Thank you! Again problem!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BSBlagojevic_0-1758647240950.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/140827iBFB88FDCADF02C84/image-size/medium?v=v2&amp;amp;px=400" role="button" title="BSBlagojevic_0-1758647240950.png" alt="BSBlagojevic_0-1758647240950.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 17:07:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-return-unique-values-from-the-field-column/m-p/1652535#M99129</guid>
      <dc:creator>BSBlagojevic</dc:creator>
      <dc:date>2025-09-23T17:07:30Z</dc:date>
    </item>
  </channel>
</rss>

