<?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: ArcGIS Online duplicate value Arcade Expression in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-duplicate-value-arcade-expression/m-p/1363758#M56500</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm not sure if this is possible because the Visualization profile doesn't expose the layer as a profile variable, only the current feature and it does not include the Data Access bundle. &lt;A href="https://developers.arcgis.com/arcade/profiles/visualization/" target="_blank"&gt;https://developers.arcgis.com/arcade/profiles/visualization/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It looks like you could provide this info in a popup using&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;var rec_count = Count(Filter($layer, "FIELD_NAME='"+$feature.FIELD_NAME+"'"))
return IIf(rec_count&amp;gt;1, true, false)&lt;/LI-CODE&gt;&lt;P&gt;If your data is relatively static, I would store this info in a new field.&lt;/P&gt;&lt;P&gt;Jill&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Dec 2023 20:14:21 GMT</pubDate>
    <dc:creator>JillianStanford</dc:creator>
    <dc:date>2023-12-21T20:14:21Z</dc:date>
    <item>
      <title>ArcGIS Online duplicate value Arcade Expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-duplicate-value-arcade-expression/m-p/1363687#M56497</link>
      <description>&lt;P&gt;I'm needing some help with an Arcade Expression for ArcGIS Online.&amp;nbsp; I need to symbolize any duplicate value in red and the remaining unique values in green.&amp;nbsp; I understand that I could create a new field any identify these duplicate values, but trying to resolve this with an Arcade Expression.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 17:50:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-duplicate-value-arcade-expression/m-p/1363687#M56497</guid>
      <dc:creator>PeteCoventry5</dc:creator>
      <dc:date>2023-12-21T17:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online duplicate value Arcade Expression</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-duplicate-value-arcade-expression/m-p/1363758#M56500</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm not sure if this is possible because the Visualization profile doesn't expose the layer as a profile variable, only the current feature and it does not include the Data Access bundle. &lt;A href="https://developers.arcgis.com/arcade/profiles/visualization/" target="_blank"&gt;https://developers.arcgis.com/arcade/profiles/visualization/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It looks like you could provide this info in a popup using&lt;/P&gt;&lt;LI-CODE lang="markdown"&gt;var rec_count = Count(Filter($layer, "FIELD_NAME='"+$feature.FIELD_NAME+"'"))
return IIf(rec_count&amp;gt;1, true, false)&lt;/LI-CODE&gt;&lt;P&gt;If your data is relatively static, I would store this info in a new field.&lt;/P&gt;&lt;P&gt;Jill&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2023 20:14:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcgis-online-duplicate-value-arcade-expression/m-p/1363758#M56500</guid>
      <dc:creator>JillianStanford</dc:creator>
      <dc:date>2023-12-21T20:14:21Z</dc:date>
    </item>
  </channel>
</rss>

