<?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 Arcade expression to select the maximum value from identical IDs and assign the related attribute data. in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-to-select-the-maximum-value-from/m-p/1338657#M55115</link>
    <description>&lt;P&gt;I have a feature where I have three main fields of interest: ID, Group Name, and Area&lt;/P&gt;&lt;P&gt;Each ID field has different group names associated with it, and each having a different area. I want to calculate a field using arcade to return the Group Name for the ID with the maximum area. I posted a picture below demonstrating what the table looks like. I've tried a few different things, with no success, and looking for some guidance. Kind of a newbie to coding in arcade.&lt;/P&gt;&lt;P&gt;huc12 is the ID&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-10-17 093652.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83240i5862FAAAEF9A1028/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-10-17 093652.png" alt="Screenshot 2023-10-17 093652.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2023 15:39:17 GMT</pubDate>
    <dc:creator>BrennonPeterson</dc:creator>
    <dc:date>2023-10-17T15:39:17Z</dc:date>
    <item>
      <title>Arcade expression to select the maximum value from identical IDs and assign the related attribute data.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-to-select-the-maximum-value-from/m-p/1338657#M55115</link>
      <description>&lt;P&gt;I have a feature where I have three main fields of interest: ID, Group Name, and Area&lt;/P&gt;&lt;P&gt;Each ID field has different group names associated with it, and each having a different area. I want to calculate a field using arcade to return the Group Name for the ID with the maximum area. I posted a picture below demonstrating what the table looks like. I've tried a few different things, with no success, and looking for some guidance. Kind of a newbie to coding in arcade.&lt;/P&gt;&lt;P&gt;huc12 is the ID&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-10-17 093652.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/83240i5862FAAAEF9A1028/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-10-17 093652.png" alt="Screenshot 2023-10-17 093652.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 15:39:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-expression-to-select-the-maximum-value-from/m-p/1338657#M55115</guid>
      <dc:creator>BrennonPeterson</dc:creator>
      <dc:date>2023-10-17T15:39:17Z</dc:date>
    </item>
  </channel>
</rss>

