<?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>idea Summary Statistics — Tie fields to a primary field in ArcGIS Pro Ideas</title>
    <link>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistics-tie-fields-to-a-primary-field/idi-p/1370128</link>
    <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.2.1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Using a FGDB table, I want to use the Summary Statistics tool to get the greatest 1 per group (no duplicates). And I want to include all the other original fields from the table in the result.&lt;BR /&gt;See:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/selecting-the-most-recent-records-based-on-unique/m-p/1370014/highlight/true#M77391" target="_self"&gt;Selecting the most recent records based on unique values in another field&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If I understand correctly, I can't do that in a single step using the Summary Statistics tool.&lt;/P&gt;&lt;P&gt;I tried to mock up what I want to do in this screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1705314581606.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91599i7E064A9172935324/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1705314581606.png" alt="Bud_0-1705314581606.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the Summary Statistcs fields section, I want to treat the &lt;STRONG&gt;t_date | Maximum&lt;/STRONG&gt;&amp;nbsp;field as the primary field. And I want to tie subsequent fields like &lt;STRONG&gt;t_unique_id | First&lt;/STRONG&gt; to that primary field. So that I get the &lt;STRONG&gt;t_unique_id&lt;/STRONG&gt; value that corresponds to the&amp;nbsp;&lt;STRONG&gt;t_date | Maximum&lt;/STRONG&gt;, not the first&amp;nbsp;&lt;STRONG&gt;t_unique_id&lt;/STRONG&gt;&amp;nbsp;for the entire species group.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The result would look like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1705316138100.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91601i5835D56EABAADB04/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_1-1705316138100.png" alt="Bud_1-1705316138100.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Admittedly, this is hard to explain. This related Oracle SQL video might help:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=AlTI_ZUyE0U&amp;amp;t=2s" target="_self"&gt;The KEEP clause will KEEP your SQL queries SIMPLE&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jan 2024 03:23:41 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2024-01-17T03:23:41Z</dc:date>
    <item>
      <title>Summary Statistics — Tie fields to a primary field</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistics-tie-fields-to-a-primary-field/idi-p/1370128</link>
      <description>&lt;P&gt;&lt;EM&gt;ArcGIS Pro 3.2.1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Using a FGDB table, I want to use the Summary Statistics tool to get the greatest 1 per group (no duplicates). And I want to include all the other original fields from the table in the result.&lt;BR /&gt;See:&amp;nbsp;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/selecting-the-most-recent-records-based-on-unique/m-p/1370014/highlight/true#M77391" target="_self"&gt;Selecting the most recent records based on unique values in another field&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If I understand correctly, I can't do that in a single step using the Summary Statistics tool.&lt;/P&gt;&lt;P&gt;I tried to mock up what I want to do in this screenshot:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_0-1705314581606.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91599i7E064A9172935324/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_0-1705314581606.png" alt="Bud_0-1705314581606.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the Summary Statistcs fields section, I want to treat the &lt;STRONG&gt;t_date | Maximum&lt;/STRONG&gt;&amp;nbsp;field as the primary field. And I want to tie subsequent fields like &lt;STRONG&gt;t_unique_id | First&lt;/STRONG&gt; to that primary field. So that I get the &lt;STRONG&gt;t_unique_id&lt;/STRONG&gt; value that corresponds to the&amp;nbsp;&lt;STRONG&gt;t_date | Maximum&lt;/STRONG&gt;, not the first&amp;nbsp;&lt;STRONG&gt;t_unique_id&lt;/STRONG&gt;&amp;nbsp;for the entire species group.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The result would look like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bud_1-1705316138100.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/91601i5835D56EABAADB04/image-size/large?v=v2&amp;amp;px=999" role="button" title="Bud_1-1705316138100.png" alt="Bud_1-1705316138100.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Admittedly, this is hard to explain. This related Oracle SQL video might help:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=AlTI_ZUyE0U&amp;amp;t=2s" target="_self"&gt;The KEEP clause will KEEP your SQL queries SIMPLE&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jan 2024 03:23:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistics-tie-fields-to-a-primary-field/idi-p/1370128</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-01-17T03:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Summary Statistics — Tie fields to a primary field</title>
      <link>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistics-tie-fields-to-a-primary-field/idc-p/1377936#M28308</link>
      <description>&lt;P&gt;I’m surprised I didn’t get any questions about this from Esri. Is there anything that’s unclear?&lt;/P&gt;</description>
      <pubDate>Sat, 03 Feb 2024 23:39:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-ideas/summary-statistics-tie-fields-to-a-primary-field/idc-p/1377936#M28308</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2024-02-03T23:39:59Z</dc:date>
    </item>
  </channel>
</rss>

