<?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: Filter Dashboard Indicator to show most recent inspection? in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/filter-dashboard-indicator-to-show-most-recent/m-p/1646996#M11402</link>
    <description>&lt;P&gt;It's a join using a SQl view - so will always up-to-date (not like a static join in Pro).&lt;/P&gt;&lt;P&gt;It's worth a try as possibly the simplest option.&amp;nbsp; Just then set it as an additional source in your dashboard to filter via.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/td-p/864652/page/2" target="_blank"&gt;Select &amp;amp; display most recent record&lt;/A&gt;&amp;nbsp; (page 2) also details an example SQL view with similar intended functionality (which you'd then publish to Enterprise).&lt;/P&gt;</description>
    <pubDate>Fri, 29 Aug 2025 21:03:58 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2025-08-29T21:03:58Z</dc:date>
    <item>
      <title>Filter Dashboard Indicator to show most recent inspection?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/filter-dashboard-indicator-to-show-most-recent/m-p/1646971#M11398</link>
      <description>&lt;P&gt;I have a dashboard displaying data from fire hydrant inspections, with a relationship between the hydrant layer and the inspection table. Each hydrant can have multiple inspections over time. I want the indicators in the dashboard (e.g., number of leaking hydrants) to reflect only the most recent inspection for each hydrant.&lt;/P&gt;&lt;P&gt;For example, if Hydrant 102 was marked as leaking in an earlier inspection but is later marked as not leaking in a more recent one, I want the count of leaking hydrants to decrease accordingly (e.g., from 3 to 2).&lt;/P&gt;&lt;P&gt;I already have a filter set up to show only inspections where "Leaking = Yes", but this filter includes &lt;STRONG&gt;all&lt;/STRONG&gt; inspections, not just the latest ones. I assume I can use a data expression as the source rather than the layer, but I am still a newbie and rely a lot on AI for that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Laura_0-1756496739606.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/139670iB415DE3A2A6520C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Laura_0-1756496739606.png" alt="Laura_0-1756496739606.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 19:48:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/filter-dashboard-indicator-to-show-most-recent/m-p/1646971#M11398</guid>
      <dc:creator>Laura</dc:creator>
      <dc:date>2025-08-29T19:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Dashboard Indicator to show most recent inspection?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/filter-dashboard-indicator-to-show-most-recent/m-p/1646988#M11399</link>
      <description>&lt;P&gt;It depends on your layer source.&amp;nbsp; If it's from an Enterprise Geodatabase you could create&amp;nbsp; SQL view and publish that.&amp;nbsp; If it's AGOL, you might need some workarounds.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;A Layer View on the record table probably won't work as the SQL is too limited.&amp;nbsp; But... An option might be to create a Joined View Layer&amp;nbsp;&lt;A href="https://support.esri.com/en-us/knowledge-base/create-a-joined-hosted-feature-layer-viewer-in-arcgis-o-000031259" target="_blank"&gt;How To: Create a Joined Hosted Feature Layer View in ArcGIS Online&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You could join your Hydrant and Inspection layers (I guess Hydrant_ID is the join field).&lt;BR /&gt;Join One to One and Keep only first matching record (remember to sort by OBJECTID DESCENDING).&amp;nbsp; Join Type = Inner&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 20:36:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/filter-dashboard-indicator-to-show-most-recent/m-p/1646988#M11399</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2025-08-29T20:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Dashboard Indicator to show most recent inspection?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/filter-dashboard-indicator-to-show-most-recent/m-p/1646989#M11400</link>
      <description>&lt;P&gt;Data is coming from SQL and being referenced in Portal (11.2) If I joined one to one would it automatically adjust the join when a new inspection is created?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how else to go about sharing the information on problems for the latest round of inspections with live data when it is fixed.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 20:39:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/filter-dashboard-indicator-to-show-most-recent/m-p/1646989#M11400</guid>
      <dc:creator>Laura</dc:creator>
      <dc:date>2025-08-29T20:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Dashboard Indicator to show most recent inspection?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/filter-dashboard-indicator-to-show-most-recent/m-p/1646992#M11401</link>
      <description>&lt;P&gt;&amp;nbsp;I am not seeing a max or last function in the filters. If you decide to go the expression route,&amp;nbsp; Maybe this can get you started:&amp;nbsp;&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expression-latest-sample-date-and/td-p/1227159" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-dashboards-questions/arcade-data-expression-latest-sample-date-and/td-p/1227159&lt;/A&gt;&lt;/P&gt;&lt;P&gt;looks like a very similar question and solution.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 20:51:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/filter-dashboard-indicator-to-show-most-recent/m-p/1646992#M11401</guid>
      <dc:creator>Neal_t_k</dc:creator>
      <dc:date>2025-08-29T20:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Dashboard Indicator to show most recent inspection?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/filter-dashboard-indicator-to-show-most-recent/m-p/1646996#M11402</link>
      <description>&lt;P&gt;It's a join using a SQl view - so will always up-to-date (not like a static join in Pro).&lt;/P&gt;&lt;P&gt;It's worth a try as possibly the simplest option.&amp;nbsp; Just then set it as an additional source in your dashboard to filter via.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/select-display-most-recent-record/td-p/864652/page/2" target="_blank"&gt;Select &amp;amp; display most recent record&lt;/A&gt;&amp;nbsp; (page 2) also details an example SQL view with similar intended functionality (which you'd then publish to Enterprise).&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 21:03:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/filter-dashboard-indicator-to-show-most-recent/m-p/1646996#M11402</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2025-08-29T21:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Dashboard Indicator to show most recent inspection?</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/filter-dashboard-indicator-to-show-most-recent/m-p/1646997#M11403</link>
      <description>&lt;P&gt;I'll give a try next week, thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 18:57:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/filter-dashboard-indicator-to-show-most-recent/m-p/1646997#M11403</guid>
      <dc:creator>Laura</dc:creator>
      <dc:date>2025-09-17T18:57:19Z</dc:date>
    </item>
  </channel>
</rss>

