<?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 Advanced formatting: Area calculation in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/advanced-formatting-area-calculation/m-p/1079083#M4800</link>
    <description>&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;I am learning to use the Advanced formatting functionality but seem to hit a snag. I am trying to calculate using the following&lt;/P&gt;&lt;P&gt;var feature_area = Area(Geometry($datapoint), 'square-meters');&lt;BR /&gt;return {&lt;BR /&gt;textColor: '',&lt;BR /&gt;backgroundColor: '',&lt;BR /&gt;separatorColor:'',&lt;BR /&gt;selectionColor: '',&lt;BR /&gt;selectionTextColor: '',&lt;BR /&gt;attributes: {&lt;BR /&gt;feature_area: feature_area&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but get an error "Unable to parse script. Check your syntax.". I am sure that it's a user error &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jul 2021 05:51:54 GMT</pubDate>
    <dc:creator>ThorstenHohenstrater</dc:creator>
    <dc:date>2021-07-15T05:51:54Z</dc:date>
    <item>
      <title>Advanced formatting: Area calculation</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/advanced-formatting-area-calculation/m-p/1079083#M4800</link>
      <description>&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;I am learning to use the Advanced formatting functionality but seem to hit a snag. I am trying to calculate using the following&lt;/P&gt;&lt;P&gt;var feature_area = Area(Geometry($datapoint), 'square-meters');&lt;BR /&gt;return {&lt;BR /&gt;textColor: '',&lt;BR /&gt;backgroundColor: '',&lt;BR /&gt;separatorColor:'',&lt;BR /&gt;selectionColor: '',&lt;BR /&gt;selectionTextColor: '',&lt;BR /&gt;attributes: {&lt;BR /&gt;feature_area: feature_area&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but get an error "Unable to parse script. Check your syntax.". I am sure that it's a user error &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 05:51:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/advanced-formatting-area-calculation/m-p/1079083#M4800</guid>
      <dc:creator>ThorstenHohenstrater</dc:creator>
      <dc:date>2021-07-15T05:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Advanced formatting: Area calculation</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/advanced-formatting-area-calculation/m-p/1079160#M4802</link>
      <description>&lt;P&gt;According to&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/dashboards/create-and-share/advanced-formatting.htm" target="_self"&gt;Advanced Formatting - ArcGIS Dashboards&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;"&lt;EM&gt;Geometry functions are not supported.&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;You might want to calculate the area for the layer at feature layer/ web map level, if required. And then use the respective field here in the expression of the list or indicator.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 12:04:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/advanced-formatting-area-calculation/m-p/1079160#M4802</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2021-07-15T12:04:52Z</dc:date>
    </item>
  </channel>
</rss>

