<?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 Dynamic calculations for popups based on layers that are turned on in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/dynamic-calculations-for-popups-based-on-layers/m-p/1579993#M63367</link>
    <description>&lt;P&gt;I'm interested in using arcade to create summary statistics for a City/Township layer, using data for other layers that are turned on. For example, when the map viewer has an asthma rate layer (census tract-level) turned on, I'd like to be able to calculate the aggregate asthma rate for the entire city, then display the result in the popup for the city layer. Since I am creating a webmap that includes a very large amount of data, I'd rather not create a separate arcade expression for every single layer and make the viewer look for the one they're interested in in the popup. Therefore a functionality to dynamically retrieve data from layers that are turned on would be helpful, if it exists.&lt;/P&gt;&lt;P&gt;However, I can't seem to find an arcade function that retrieves data from a layer based on whether or not it's turned on in the contents. Does such a functionality exist?&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jan 2025 16:35:59 GMT</pubDate>
    <dc:creator>NicholaiJost-Epp</dc:creator>
    <dc:date>2025-01-29T16:35:59Z</dc:date>
    <item>
      <title>Dynamic calculations for popups based on layers that are turned on</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/dynamic-calculations-for-popups-based-on-layers/m-p/1579993#M63367</link>
      <description>&lt;P&gt;I'm interested in using arcade to create summary statistics for a City/Township layer, using data for other layers that are turned on. For example, when the map viewer has an asthma rate layer (census tract-level) turned on, I'd like to be able to calculate the aggregate asthma rate for the entire city, then display the result in the popup for the city layer. Since I am creating a webmap that includes a very large amount of data, I'd rather not create a separate arcade expression for every single layer and make the viewer look for the one they're interested in in the popup. Therefore a functionality to dynamically retrieve data from layers that are turned on would be helpful, if it exists.&lt;/P&gt;&lt;P&gt;However, I can't seem to find an arcade function that retrieves data from a layer based on whether or not it's turned on in the contents. Does such a functionality exist?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 16:35:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/dynamic-calculations-for-popups-based-on-layers/m-p/1579993#M63367</guid>
      <dc:creator>NicholaiJost-Epp</dc:creator>
      <dc:date>2025-01-29T16:35:59Z</dc:date>
    </item>
  </channel>
</rss>

