<?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 Filter out duplicate records in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/filter-out-duplicate-records/m-p/1295393#M7895</link>
    <description>&lt;P&gt;I have a dashboard that displays stats of roads within polygons that the user can select from a map. The issue is that some roads are on the border of 2 or more polygons. When I set up a layer action to spatially filter the road, the road will only show up for one of the polygons. My workaround was to use a 1:M join, so that there will be duplicates of roads for each polygon, and use a field filter instead of a spatial filter.&lt;/P&gt;&lt;P&gt;This works fine for just displaying the filtered roads. But if the user selects multiple polygons, the filtered stats in charts will include the duplicate roads, resulting in exaggerated stats.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each road does have a unique ID, so duplicates will have the same ID. Is there any way to ensure that when a user selects a polygon, all roads intersecting it will be shown, but if they select multiple polygons duplicate roads will not be used for charts etc.?&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2023 15:00:48 GMT</pubDate>
    <dc:creator>AJ_devaccount</dc:creator>
    <dc:date>2023-06-02T15:00:48Z</dc:date>
    <item>
      <title>Filter out duplicate records</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/filter-out-duplicate-records/m-p/1295393#M7895</link>
      <description>&lt;P&gt;I have a dashboard that displays stats of roads within polygons that the user can select from a map. The issue is that some roads are on the border of 2 or more polygons. When I set up a layer action to spatially filter the road, the road will only show up for one of the polygons. My workaround was to use a 1:M join, so that there will be duplicates of roads for each polygon, and use a field filter instead of a spatial filter.&lt;/P&gt;&lt;P&gt;This works fine for just displaying the filtered roads. But if the user selects multiple polygons, the filtered stats in charts will include the duplicate roads, resulting in exaggerated stats.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each road does have a unique ID, so duplicates will have the same ID. Is there any way to ensure that when a user selects a polygon, all roads intersecting it will be shown, but if they select multiple polygons duplicate roads will not be used for charts etc.?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 15:00:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/filter-out-duplicate-records/m-p/1295393#M7895</guid>
      <dc:creator>AJ_devaccount</dc:creator>
      <dc:date>2023-06-02T15:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out duplicate records</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/filter-out-duplicate-records/m-p/1482178#M9721</link>
      <description>&lt;P&gt;I have this same issue that can't be accounted for in Dashboards or webmap charts&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 17:51:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/filter-out-duplicate-records/m-p/1482178#M9721</guid>
      <dc:creator>ArmstKP</dc:creator>
      <dc:date>2024-05-31T17:51:54Z</dc:date>
    </item>
  </channel>
</rss>

