<?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 Dashboard Indicator Statistic Behaviour is Different for Count v Sum in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-indicator-statistic-behaviour-is/m-p/1101157#M5135</link>
    <description>&lt;P&gt;I have a dashboard in AGOL which was created before the September 2021 update (not sure if that's relevant but thought I'd mention).&lt;/P&gt;&lt;P&gt;I have an indicator based on a feature layer which for the majority of the time will have no records in but occasionally will have some records.&lt;/P&gt;&lt;P&gt;The indicator is set to use a statistic as the value type and to return a COUNT on the OBJECTID field. When there are no records in the dataset the value returned is 0 rather than being no data.&lt;/P&gt;&lt;P&gt;However if I change the statistic to SUM and point it at any numeric field then the no data message is returned rather than a 0.&lt;/P&gt;&lt;P&gt;I can make use of the No data label settings to simulate the number 0 in this instance but the text formatting options are different between no data labels and the indicator text, so it's tricky to replicate these exactly if I want to show two similar indicators side by side, one with a count and one with a sum.&lt;/P&gt;&lt;P&gt;Just wanted to see if anyone knew if this is expected behaviour or if there is any other workaround to try and achieve the desired effect.&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Gareth&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Sep 2021 09:49:52 GMT</pubDate>
    <dc:creator>GarethBaker1</dc:creator>
    <dc:date>2021-09-23T09:49:52Z</dc:date>
    <item>
      <title>Dashboard Indicator Statistic Behaviour is Different for Count v Sum</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-indicator-statistic-behaviour-is/m-p/1101157#M5135</link>
      <description>&lt;P&gt;I have a dashboard in AGOL which was created before the September 2021 update (not sure if that's relevant but thought I'd mention).&lt;/P&gt;&lt;P&gt;I have an indicator based on a feature layer which for the majority of the time will have no records in but occasionally will have some records.&lt;/P&gt;&lt;P&gt;The indicator is set to use a statistic as the value type and to return a COUNT on the OBJECTID field. When there are no records in the dataset the value returned is 0 rather than being no data.&lt;/P&gt;&lt;P&gt;However if I change the statistic to SUM and point it at any numeric field then the no data message is returned rather than a 0.&lt;/P&gt;&lt;P&gt;I can make use of the No data label settings to simulate the number 0 in this instance but the text formatting options are different between no data labels and the indicator text, so it's tricky to replicate these exactly if I want to show two similar indicators side by side, one with a count and one with a sum.&lt;/P&gt;&lt;P&gt;Just wanted to see if anyone knew if this is expected behaviour or if there is any other workaround to try and achieve the desired effect.&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Gareth&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 09:49:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-indicator-statistic-behaviour-is/m-p/1101157#M5135</guid>
      <dc:creator>GarethBaker1</dc:creator>
      <dc:date>2021-09-23T09:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Indicator Statistic Behaviour is Different for Count v Sum</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-indicator-statistic-behaviour-is/m-p/1101180#M5137</link>
      <description>&lt;P&gt;I believe that should be the expected behavior, and it makes sense.&lt;/P&gt;&lt;P&gt;A COUNT of 0 means there is no feature/ record.&lt;/P&gt;&lt;P&gt;A sum of 0 (for a field) means there are valid records whose sum (of a field) equals to 0. "No Data" suggests there is no record to calculate the statistics.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 12:19:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-indicator-statistic-behaviour-is/m-p/1101180#M5137</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-09-23T12:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Indicator Statistic Behaviour is Different for Count v Sum</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-indicator-statistic-behaviour-is/m-p/1101208#M5139</link>
      <description>&lt;P&gt;Hi Jayanta,&lt;/P&gt;&lt;P&gt;I get what you're saying but if a COUNT of 0 means no feature/record then why not show (or at least give the option for) the No Data label instead? That way the user has the choice of showing whatever they want including a 0 and it is consistent with other statistics returned.&lt;/P&gt;&lt;P&gt;I'll maybe suggest this as an idea for enhancement.&lt;/P&gt;&lt;P&gt;Regards&lt;BR /&gt;Gareth&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 13:26:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-indicator-statistic-behaviour-is/m-p/1101208#M5139</guid>
      <dc:creator>GarethBaker1</dc:creator>
      <dc:date>2021-09-23T13:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dashboard Indicator Statistic Behaviour is Different for Count v Sum</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-indicator-statistic-behaviour-is/m-p/1101232#M5140</link>
      <description>&lt;P&gt;You get No Data when the indicator is actually looking for a value in the data, such as an attribute. Count is a special case, because it's not looking at the data's contents, simply the number of records present.&lt;/P&gt;&lt;P&gt;Put another way, asking "what's the average value" of no records can't be answered definitively, thus the No Data response. Asking "how many are there" of no records &lt;EM&gt;can &lt;/EM&gt;be answered.&lt;/P&gt;&lt;P&gt;You can use conditional formatting, if all you want is something else to display when the count is 0.&lt;/P&gt;&lt;P&gt;Set a reference value of 1.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1632405513237.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23711i1AC84C0461FFD505/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1632405513237.png" alt="jcarlson_0-1632405513237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then set the "below reference" style to whatever you want.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_1-1632405613903.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23712i5E41037F461D452A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_1-1632405613903.png" alt="jcarlson_1-1632405613903.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now a count of 0 will display with whatever message you enter, rather than a 0.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 14:04:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/dashboard-indicator-statistic-behaviour-is/m-p/1101232#M5140</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-09-23T14:04:41Z</dc:date>
    </item>
  </channel>
</rss>

