<?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: Create pop-up that shows value relative to average of all values for that field? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/create-pop-up-that-shows-value-relative-to-average/m-p/1027943#M38567</link>
    <description>&lt;P&gt;Easy enough to do with Arcade's &lt;A href="https://developers.arcgis.com/arcade/function-reference/math_functions/#average" target="_self"&gt;&lt;STRONG&gt;Average&lt;/STRONG&gt;&lt;/A&gt; function (or &lt;A href="https://developers.arcgis.com/arcade/function-reference/math_functions/#mean" target="_self"&gt;&lt;STRONG&gt;Mean&lt;/STRONG&gt;&lt;/A&gt;, which is for some reason a separate function...)&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add an expression to your layer. I'll call mine "Average Size".&lt;/LI&gt;&lt;LI&gt;Expression text: &lt;FONT face="courier new,courier"&gt;Average($layer, 'size'), &lt;/FONT&gt;&lt;EM&gt;size &lt;/EM&gt;being the field name.&lt;/LI&gt;&lt;LI&gt;Repeat as needed to get your average values for each field. Median and other percentiles don't seem to be possible at present, but maybe someday!&lt;/LI&gt;&lt;LI&gt;Create a bar chart.&lt;/LI&gt;&lt;LI&gt;In the &lt;EM&gt;Chart Fields&lt;/EM&gt; section, your expressions should be available to add.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1613618565452.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/6302i8C6F3083E9FBEB2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1613618565452.png" alt="jcarlson_0-1613618565452.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Repeat as needed to get charts comparing all your attributes.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_1-1613618709579.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/6303i39A15F0ADD1D1EC7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_1-1613618709579.png" alt="jcarlson_1-1613618709579.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;That's it!&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2021 03:26:59 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2021-02-18T03:26:59Z</dc:date>
    <item>
      <title>Create pop-up that shows value relative to average of all values for that field?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-pop-up-that-shows-value-relative-to-average/m-p/1027891#M38563</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I'd really like to create a pop-up graph that simply shows the value of the selected polygon compared to the mean for that field (or median in some cases). For example, I would like to click on a polygon of property value and simply have a two-bar chart (or any kind of chart really) that shows what the property value for a home and compares it to the average of all property values in my city. I have a heap of variables I'd like to do this for (home quality, flood risk, distance to city center, etc.). I've watched about three hours of how-to videos for Arcade today. I feel like the answer is out there, but can't find it!&lt;/P&gt;&lt;P&gt;Thanks so much in advance!&lt;/P&gt;&lt;P&gt;Kevin&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 00:04:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-pop-up-that-shows-value-relative-to-average/m-p/1027891#M38563</guid>
      <dc:creator>KBKnight</dc:creator>
      <dc:date>2021-02-18T00:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create pop-up that shows value relative to average of all values for that field?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-pop-up-that-shows-value-relative-to-average/m-p/1027943#M38567</link>
      <description>&lt;P&gt;Easy enough to do with Arcade's &lt;A href="https://developers.arcgis.com/arcade/function-reference/math_functions/#average" target="_self"&gt;&lt;STRONG&gt;Average&lt;/STRONG&gt;&lt;/A&gt; function (or &lt;A href="https://developers.arcgis.com/arcade/function-reference/math_functions/#mean" target="_self"&gt;&lt;STRONG&gt;Mean&lt;/STRONG&gt;&lt;/A&gt;, which is for some reason a separate function...)&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add an expression to your layer. I'll call mine "Average Size".&lt;/LI&gt;&lt;LI&gt;Expression text: &lt;FONT face="courier new,courier"&gt;Average($layer, 'size'), &lt;/FONT&gt;&lt;EM&gt;size &lt;/EM&gt;being the field name.&lt;/LI&gt;&lt;LI&gt;Repeat as needed to get your average values for each field. Median and other percentiles don't seem to be possible at present, but maybe someday!&lt;/LI&gt;&lt;LI&gt;Create a bar chart.&lt;/LI&gt;&lt;LI&gt;In the &lt;EM&gt;Chart Fields&lt;/EM&gt; section, your expressions should be available to add.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1613618565452.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/6302i8C6F3083E9FBEB2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1613618565452.png" alt="jcarlson_0-1613618565452.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Repeat as needed to get charts comparing all your attributes.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_1-1613618709579.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/6303i39A15F0ADD1D1EC7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_1-1613618709579.png" alt="jcarlson_1-1613618709579.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;That's it!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 03:26:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-pop-up-that-shows-value-relative-to-average/m-p/1027943#M38567</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-02-18T03:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create pop-up that shows value relative to average of all values for that field?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/create-pop-up-that-shows-value-relative-to-average/m-p/1028148#M38570</link>
      <description>&lt;P&gt;Thanks so much! I think i was missing how to code for a field vs a cell!&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2021 17:35:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/create-pop-up-that-shows-value-relative-to-average/m-p/1028148#M38570</guid>
      <dc:creator>KBKnight</dc:creator>
      <dc:date>2021-02-18T17:35:02Z</dc:date>
    </item>
  </channel>
</rss>

