<?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: Aggregate Symbology for Multiple Rows Per Polygon in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/aggregate-symbology-for-multiple-rows-per-polygon/m-p/1414308#M58789</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/789020"&gt;@SaraChowdhury&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Have you tried using the dissolve tool to see if that would get you the information that you need? If not, then you can give that a try and then use a group filter to filter databased on matching attributes in a field.&lt;/P&gt;&lt;P&gt;Another option is to use arcade to get a total for each unique attribute and update each record with the total for each matching attribute.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var State = $feature.State
var StateTotal = sum( filter( $featureset , 'State = @State' ) , 'Number of Household Members' )
Console( StateTotal )
return StateTotal &lt;/LI-CODE&gt;&lt;P&gt;The above code should work for what you need. You can use it to field calculate the total for each state and get the household totals.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Apr 2024 17:56:18 GMT</pubDate>
    <dc:creator>RPGIS</dc:creator>
    <dc:date>2024-04-23T17:56:18Z</dc:date>
    <item>
      <title>Aggregate Symbology for Multiple Rows Per Polygon</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/aggregate-symbology-for-multiple-rows-per-polygon/m-p/1414253#M58786</link>
      <description>&lt;P&gt;I am trying to display state-level symbology information using data structured as follows:&lt;/P&gt;&lt;TABLE border="1" width="50%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;State&lt;/TD&gt;&lt;TD width="25%"&gt;Number of Household Members&lt;/TD&gt;&lt;TD width="25%"&gt;Family ID&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;North Carolina&lt;/TD&gt;&lt;TD width="25%"&gt;3&lt;/TD&gt;&lt;TD width="25%"&gt;a&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;North Carolina&lt;/TD&gt;&lt;TD width="25%"&gt;1&lt;/TD&gt;&lt;TD width="25%"&gt;b&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="50%"&gt;North Carolina&lt;/TD&gt;&lt;TD width="25%"&gt;6&lt;/TD&gt;&lt;TD width="25%"&gt;c&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ArcGIS online seems to only allow me to show information for one row at a time within the symbology (i.e. I can sort the symbology by max&amp;nbsp;&lt;EM&gt;Number of Household Members&lt;/EM&gt;&amp;nbsp;and get a 6 for the symbology, or sort by min&amp;nbsp;&lt;EM&gt;Family ID&lt;/EM&gt;&amp;nbsp;to show a 3 for symbology). However, I want to aggregate the&amp;nbsp;&lt;STRONG&gt;sum&lt;/STRONG&gt; for&amp;nbsp;&lt;EM&gt;Number of Household Members&amp;nbsp;&lt;/EM&gt;and show that in the symbology (i.e. a 10 for the state of North Carolina).&lt;/P&gt;&lt;P&gt;Is there any way to do this that I am missing?&lt;/P&gt;&lt;P&gt;I have thought to add a column in my data preparation step to sum up each value and include that as a static repeating row in the data (i.e. have a column called&amp;nbsp;&lt;EM&gt;Static Total Number of Household Members&lt;/EM&gt;), but that limits me in my ability to filter the map using other data columns, like if I wanted to only view the data for &lt;EM&gt;household a&lt;/EM&gt;, the symbology would still show a 10, so that is not a complete/viable solution.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 16:46:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/aggregate-symbology-for-multiple-rows-per-polygon/m-p/1414253#M58786</guid>
      <dc:creator>SaraChowdhury</dc:creator>
      <dc:date>2024-04-23T16:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate Symbology for Multiple Rows Per Polygon</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/aggregate-symbology-for-multiple-rows-per-polygon/m-p/1414288#M58787</link>
      <description>&lt;P&gt;I feel like this is something you could accomplish using &lt;A href="https://developers.arcgis.com/arcade/guide/featuresets/" target="_blank" rel="noopener"&gt;Featuresets in Arcade&lt;/A&gt; but I haven't gone down this path in my own use of Arcade..&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 17:46:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/aggregate-symbology-for-multiple-rows-per-polygon/m-p/1414288#M58787</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2024-04-23T17:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate Symbology for Multiple Rows Per Polygon</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/aggregate-symbology-for-multiple-rows-per-polygon/m-p/1414308#M58789</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/789020"&gt;@SaraChowdhury&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Have you tried using the dissolve tool to see if that would get you the information that you need? If not, then you can give that a try and then use a group filter to filter databased on matching attributes in a field.&lt;/P&gt;&lt;P&gt;Another option is to use arcade to get a total for each unique attribute and update each record with the total for each matching attribute.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var State = $feature.State
var StateTotal = sum( filter( $featureset , 'State = @State' ) , 'Number of Household Members' )
Console( StateTotal )
return StateTotal &lt;/LI-CODE&gt;&lt;P&gt;The above code should work for what you need. You can use it to field calculate the total for each state and get the household totals.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 17:56:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/aggregate-symbology-for-multiple-rows-per-polygon/m-p/1414308#M58789</guid>
      <dc:creator>RPGIS</dc:creator>
      <dc:date>2024-04-23T17:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate Symbology for Multiple Rows Per Polygon</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/aggregate-symbology-for-multiple-rows-per-polygon/m-p/1414347#M58790</link>
      <description>&lt;P&gt;Unfortunately, I have attempted this and Arcade for symbology does not allow the use of $map eliminating the functionality of "&lt;SPAN&gt;FeatureSetByName."&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 18:58:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/aggregate-symbology-for-multiple-rows-per-polygon/m-p/1414347#M58790</guid>
      <dc:creator>SaraChowdhury</dc:creator>
      <dc:date>2024-04-23T18:58:31Z</dc:date>
    </item>
  </channel>
</rss>

