<?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: Create a list which only shows unique values, no duplicates. in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1627648#M19565</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/612882"&gt;@kstone_ntia&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In the June 2025 AGOL release, you can add data via an Arcade script. You can create an Arcade script that returns only the unique applicant name and uses the message action Record selection changes to display the associated records of the original data.&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Shengdi&lt;/P&gt;</description>
    <pubDate>Fri, 27 Jun 2025 08:35:56 GMT</pubDate>
    <dc:creator>ShengdiZhang</dc:creator>
    <dc:date>2025-06-27T08:35:56Z</dc:date>
    <item>
      <title>Create a list which only shows unique values, no duplicates.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1349397#M9360</link>
      <description>&lt;P&gt;I am looking to create a list only showing the unique values from a layer. The example is below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Original Table Example&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kstone_ntia_0-1699997156337.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/85991i8EC9E659FF3ACF28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kstone_ntia_0-1699997156337.png" alt="kstone_ntia_0-1699997156337.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want the list to only read Applicant 1 and Applicant 2. Not list them multiple times which is how the list currently works. My goal is to select applicant 1 and see various charts associated with that applicant.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate any guidance you have.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kelly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 21:35:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1349397#M9360</guid>
      <dc:creator>kstone_ntia</dc:creator>
      <dc:date>2023-11-14T21:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list which only shows unique values, no duplicates.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1349413#M9366</link>
      <description>&lt;P&gt;Hi Kelly,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which product are you working on, and is it just an attribute table?&lt;/P&gt;&lt;P&gt;In your case, each combination of the [Name, Type] is actually unique.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If in ArcGIS Dashboards, you will want to "group by" the name column, then you can get unique "applicants" with their grouped values such as total number of types per applicant. If using Arcade, there is a "GroupBy" function you can use. If dealing with ArcGIS Server Rest Endpoint, "returnDistinctValues" is a parameter you may be interested in (&lt;A href="https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-layer-.htm" target="_blank"&gt;Query (Feature Service/Layer)—ArcGIS REST APIs | ArcGIS Developers&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Anbin&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 22:21:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1349413#M9366</guid>
      <dc:creator>anbinh</dc:creator>
      <dc:date>2023-11-14T22:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list which only shows unique values, no duplicates.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1349658#M9387</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your reply. I am trying to do this in experience builder, not a dashboard. And am trying to do this in a list. I am using a hosted table on ArcGIS online. Thank you&amp;nbsp; for any additional assistance you can provide. .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kelly&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 14:23:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1349658#M9387</guid>
      <dc:creator>kstone_ntia</dc:creator>
      <dc:date>2023-11-15T14:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list which only shows unique values, no duplicates.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1405197#M11905</link>
      <description>&lt;P&gt;Any updates on this? I am trying to do the exact same thing on Experience Builder and I can't find a way...&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 14:12:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1405197#M11905</guid>
      <dc:creator>NaomiCampoy</dc:creator>
      <dc:date>2024-04-03T14:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list which only shows unique values, no duplicates.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1559484#M16028</link>
      <description>&lt;P&gt;Hi!,&lt;/P&gt;&lt;P&gt;I am also trying to summarize or get unique values summarized (GroupBy) have people been able to accomplish this in EB? I was going to try the Query the&amp;nbsp;&lt;SPAN&gt;ArcGIS Server Rest Endpoint, "returnDistinctValues" suggested by&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/551674"&gt;@anbinh&lt;/a&gt;&amp;nbsp;, but I would rather use something like GroupBy as in dashboards if available. That said even after the November 2024 update I'm not seeing this option. Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:31:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1559484#M16028</guid>
      <dc:creator>kmsmikrud</dc:creator>
      <dc:date>2024-11-16T18:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list which only shows unique values, no duplicates.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1563197#M16219</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/551674"&gt;@anbinh&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I am trying to update the layer definition for a view layer I created from a hosted AGOL feature layer as a work around fro the lack of a Groupby option in Experience Builder.&lt;/P&gt;&lt;P&gt;I have the following information included and it seems successful in theory but the view layer data table still shows all of the records. I have tried to just query the REST endpoint and I see the info correctly summarized there. The view layer is a point layer and really I just want the nonspatial (no geometry) returned so I can use this as a datasource in an EB list widget. Is this possible or do you see an reason the below isn't working? I very seldom use this workflow.&lt;/P&gt;&lt;P&gt;When I click to Update Definition the below processes as complete or updated, but all the records are still in the Data table of the hosted feature layer as they were originally.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UpdatelLayerDefinition_wDistinctValues.jpg" style="width: 703px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/120608iECFF0F3209984A22/image-size/large?v=v2&amp;amp;px=999" role="button" title="UpdatelLayerDefinition_wDistinctValues.jpg" alt="UpdatelLayerDefinition_wDistinctValues.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Kathy&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 18:20:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1563197#M16219</guid>
      <dc:creator>kmsmikrud</dc:creator>
      <dc:date>2024-11-29T18:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list which only shows unique values, no duplicates.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1627648#M19565</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/612882"&gt;@kstone_ntia&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In the June 2025 AGOL release, you can add data via an Arcade script. You can create an Arcade script that returns only the unique applicant name and uses the message action Record selection changes to display the associated records of the original data.&lt;/P&gt;&lt;P&gt;Hope it helps,&lt;/P&gt;&lt;P&gt;Shengdi&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 08:35:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1627648#M19565</guid>
      <dc:creator>ShengdiZhang</dc:creator>
      <dc:date>2025-06-27T08:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list which only shows unique values, no duplicates.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1632805#M19922</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Any thoughts on what I may be doing wrong/missing? This seemed like it would solve my exact problem (I wanted to show users a table of unique values from a FeatureSet). I took the complete feature set, filtered down to the unique values (2 of 122), and it all looked good:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="distinct_features.png" style="width: 579px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/136463i2C8C8C163659AEAB/image-dimensions/579x417?v=v2" width="579" height="417" role="button" title="distinct_features.png" alt="distinct_features.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="distinct_features_output.png" style="width: 228px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/136462iE5968F0623DF78C4/image-dimensions/228x250?v=v2" width="228" height="250" role="button" title="distinct_features_output.png" alt="distinct_features_output.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But when I plugged my Arcade data script into a table, I got all records instead of my filtered set:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="table_output.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/136464i126EF2015D8A92F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="table_output.png" alt="table_output.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2025 12:29:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1632805#M19922</guid>
      <dc:creator>JohnEvans6</dc:creator>
      <dc:date>2025-07-14T12:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list which only shows unique values, no duplicates.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1633004#M19929</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/338797"&gt;@JohnEvans6&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I add a filter in my script and it looks good in the table widget. Could you share your data and script with me?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shengdi&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jul 2025 01:48:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1633004#M19929</guid>
      <dc:creator>ShengdiZhang</dc:creator>
      <dc:date>2025-07-15T01:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list which only shows unique values, no duplicates.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1633082#M19935</link>
      <description>&lt;P&gt;Happy to thanks for looking. Should be pretty straightforward:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var fieldName = "IWL_NAME";
var features = FeatureSetByPortalItem(Portal("https://faasysops.maps.arcgis.com/"), '8abc49df0f9247b9abd7b62eaa37952d', 0)
var uniqueIds = GroupBy(features, [fieldName], { name: "f_objID", expression: "OBJECTID", statistic: "FIRST" });

var unique_list = [];

for (var id in uniqueIds) {Push(unique_list, id.f_objID)}

var sql = "OBJECTID IN (" + Concatenate(unique_list, ", ") + ")";
return Filter(features, sql);&lt;/LI-CODE&gt;&lt;P&gt;As above the feature set is filtered down to 2 records, which I want to display in the table behind in the screenshot. I figured the table would just load the 2 records in the output, but it loads them all.&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="filtered_dataset.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/136516iF01DAD97A00E76BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="filtered_dataset.png" alt="filtered_dataset.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, 15 Jul 2025 11:29:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1633082#M19935</guid>
      <dc:creator>JohnEvans6</dc:creator>
      <dc:date>2025-07-15T11:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list which only shows unique values, no duplicates.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1633399#M19954</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/338797"&gt;@JohnEvans6&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for reporting this issue. I'm able to reproduce the bug. Although we haven't identified the root cause yet, the problem seems to occur only when the script is re-edited after data has been added.&lt;/P&gt;&lt;P&gt;As a temporary workaround, try adding a new data source and configuring the script without re-editing it afterward.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you can still reproduce this bug.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shengdi&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 06:32:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1633399#M19954</guid>
      <dc:creator>ShengdiZhang</dc:creator>
      <dc:date>2025-07-16T06:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list which only shows unique values, no duplicates.</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1633437#M19956</link>
      <description>&lt;P&gt;Can do thanks for figuring it out!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jul 2025 10:59:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/create-a-list-which-only-shows-unique-values-no/m-p/1633437#M19956</guid>
      <dc:creator>JohnEvans6</dc:creator>
      <dc:date>2025-07-16T10:59:53Z</dc:date>
    </item>
  </channel>
</rss>

