<?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 to get an average of a field in a web map over a period from the dashboard in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/how-to-get-an-average-of-a-field-in-a-web-map-over/m-p/1023138#M38317</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am making a dashboard. I want to change a color of a point on the map according to the period I select on the dashboard's header. The point holds monthly records. I want the color changed according to the range of the average of the monthly records in the selected period. (blue: &amp;lt;235, yellow: 235~1260, red: &amp;gt;1260&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried this:&lt;BR /&gt;a Web Map &amp;gt; "Contents" &amp;gt; the data layer &amp;gt; "Change Style" &amp;gt; "Choose an attribute to show" &amp;gt; "(Expression)" &amp;gt; clicked a pen icon &amp;gt; "Expression" &amp;gt; added "return mean($feature["Reporting_Result"]);"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It doesn't return the average of the single column ("Reporting_Result") in the specified period at the dashboard. I honestly do not know what it returns. The color changes oddly.&lt;BR /&gt;&lt;BR /&gt;In short, the red circle on the map should be blue (avg. 171) but it's red:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JulieWood_1-1612370853430.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/5231i87BF390D13DC214F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JulieWood_1-1612370853430.png" alt="JulieWood_1-1612370853430.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Feb 2021 19:18:47 GMT</pubDate>
    <dc:creator>JulieWood</dc:creator>
    <dc:date>2021-02-03T19:18:47Z</dc:date>
    <item>
      <title>how to get an average of a field in a web map over a period from the dashboard</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-get-an-average-of-a-field-in-a-web-map-over/m-p/1023138#M38317</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am making a dashboard. I want to change a color of a point on the map according to the period I select on the dashboard's header. The point holds monthly records. I want the color changed according to the range of the average of the monthly records in the selected period. (blue: &amp;lt;235, yellow: 235~1260, red: &amp;gt;1260&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried this:&lt;BR /&gt;a Web Map &amp;gt; "Contents" &amp;gt; the data layer &amp;gt; "Change Style" &amp;gt; "Choose an attribute to show" &amp;gt; "(Expression)" &amp;gt; clicked a pen icon &amp;gt; "Expression" &amp;gt; added "return mean($feature["Reporting_Result"]);"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It doesn't return the average of the single column ("Reporting_Result") in the specified period at the dashboard. I honestly do not know what it returns. The color changes oddly.&lt;BR /&gt;&lt;BR /&gt;In short, the red circle on the map should be blue (avg. 171) but it's red:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JulieWood_1-1612370853430.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/5231i87BF390D13DC214F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JulieWood_1-1612370853430.png" alt="JulieWood_1-1612370853430.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2021 19:18:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-get-an-average-of-a-field-in-a-web-map-over/m-p/1023138#M38317</guid>
      <dc:creator>JulieWood</dc:creator>
      <dc:date>2021-02-03T19:18:47Z</dc:date>
    </item>
  </channel>
</rss>

