<?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 Sum with new variable in indicator widget in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/sum-with-new-variable-in-indicator-widget/m-p/1192770#M6556</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I want to display Hectares multiplied by varied factors across an entire feature layer.&lt;/P&gt;&lt;P&gt;My original plan was to use calculated expressions to get Hectares, however we've found a bug. This has now been logged with ESRI.&lt;/P&gt;&lt;P&gt;I need to run the Hectares calculation in Dashboards now, and also get the total Hectares times varied factor as an indicator. The factor varies by polygon type.&lt;/P&gt;&lt;P&gt;This is my current expression for calculating for one polygon.&lt;/P&gt;&lt;P&gt;var NewFactorHa = Round($datapoint["Shape__Area"]/10000*$datapoint["Factor"],2)&lt;/P&gt;&lt;P&gt;I need to add up all the NewFactorHas though. How do I do that? Sum(values, fieldName)? Or is there a way to do this through the Data section using value and reference?&lt;/P&gt;</description>
    <pubDate>Sun, 17 Jul 2022 22:59:42 GMT</pubDate>
    <dc:creator>Lindsay</dc:creator>
    <dc:date>2022-07-17T22:59:42Z</dc:date>
    <item>
      <title>Sum with new variable in indicator widget</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/sum-with-new-variable-in-indicator-widget/m-p/1192770#M6556</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I want to display Hectares multiplied by varied factors across an entire feature layer.&lt;/P&gt;&lt;P&gt;My original plan was to use calculated expressions to get Hectares, however we've found a bug. This has now been logged with ESRI.&lt;/P&gt;&lt;P&gt;I need to run the Hectares calculation in Dashboards now, and also get the total Hectares times varied factor as an indicator. The factor varies by polygon type.&lt;/P&gt;&lt;P&gt;This is my current expression for calculating for one polygon.&lt;/P&gt;&lt;P&gt;var NewFactorHa = Round($datapoint["Shape__Area"]/10000*$datapoint["Factor"],2)&lt;/P&gt;&lt;P&gt;I need to add up all the NewFactorHas though. How do I do that? Sum(values, fieldName)? Or is there a way to do this through the Data section using value and reference?&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jul 2022 22:59:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/sum-with-new-variable-in-indicator-widget/m-p/1192770#M6556</guid>
      <dc:creator>Lindsay</dc:creator>
      <dc:date>2022-07-17T22:59:42Z</dc:date>
    </item>
  </channel>
</rss>

