<?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 How do you total up data within a polygon? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/how-do-you-total-up-data-within-a-polygon/m-p/334370#M16632</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the code below to find out which neighborhood each Census block group is within. I now want to find out the total internet subscriptions for each neighborhood. I'm don't know the correct terminology to search for how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-objectid="3100" data-objecttype="3" href="https://community.esri.com/people/xander_bakker" style="color: #3778c7; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 1px 0px 1px calc(12px + 0.35ex);" target="_blank"&gt;Xander Bakker&lt;/A&gt;&amp;nbsp;any help would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;var pnt= Centroid(Geometry($feature))
var neighborhood = FeatureSetByName($map,"Shreveport_Neighborhoods",["NAME"])
var fsIntersectHood = Intersects(neighborhood, pnt)
var fneighborhood = first(fsIntersectHood)
if (fneighborhood == null) return ""
    return fneighborhood.NAME&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 15:50:36 GMT</pubDate>
    <dc:creator>GeraldSneary</dc:creator>
    <dc:date>2021-12-11T15:50:36Z</dc:date>
    <item>
      <title>How do you total up data within a polygon?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-do-you-total-up-data-within-a-polygon/m-p/334370#M16632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the code below to find out which neighborhood each Census block group is within. I now want to find out the total internet subscriptions for each neighborhood. I'm don't know the correct terminology to search for how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-objectid="3100" data-objecttype="3" href="https://community.esri.com/people/xander_bakker" style="color: #3778c7; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 1px 0px 1px calc(12px + 0.35ex);" target="_blank"&gt;Xander Bakker&lt;/A&gt;&amp;nbsp;any help would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;var pnt= Centroid(Geometry($feature))
var neighborhood = FeatureSetByName($map,"Shreveport_Neighborhoods",["NAME"])
var fsIntersectHood = Intersects(neighborhood, pnt)
var fneighborhood = first(fsIntersectHood)
if (fneighborhood == null) return ""
    return fneighborhood.NAME&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:50:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-do-you-total-up-data-within-a-polygon/m-p/334370#M16632</guid>
      <dc:creator>GeraldSneary</dc:creator>
      <dc:date>2021-12-11T15:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do you total up data within a polygon?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-do-you-total-up-data-within-a-polygon/m-p/334371#M16633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/380877"&gt;Gerald Sneary&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me&amp;nbsp;see if I understand what you are trying to achieve. You have a layer with the census block groups, and from within this layer you want to know&amp;nbsp;in which neighborhood the census block is located and read the attribute with the internet subscriptions? Or&amp;nbsp;is this a value stored at the census block group and you will first need to select the neighborhood that it intersects with and then the&amp;nbsp;other census block groups that intersect with that neighborhood (can there be partial overlap, and if so, how do you want to handle that) and sum all the internet subscriptions from the selected census block groups? Sorry, but I haven't worked with census block (group) data and I am not sure what is stored where. Both options are possible to achieve with Arcade though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Feb 2020 01:33:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-do-you-total-up-data-within-a-polygon/m-p/334371#M16633</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2020-02-21T01:33:55Z</dc:date>
    </item>
  </channel>
</rss>

