<?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 Dynamic Expression: Percentage (Year over Year, growth rate) in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/dynamic-expression-percentage-year-over-year/m-p/1533989#M14658</link>
    <description>&lt;P&gt;Is it possible to populate a text box with a dynamic expression as a percentage?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have &lt;EM&gt;&lt;STRONG&gt;[Instance_Count] &lt;/STRONG&gt;&lt;/EM&gt;and &lt;EM&gt;&lt;STRONG&gt;[Previous_Year_Count]&lt;/STRONG&gt;&lt;/EM&gt;.&amp;nbsp; I can use Arcare to calculate the Change&lt;EM&gt;&lt;STRONG&gt; [Incident_Change]&lt;/STRONG&gt;&lt;/EM&gt; as "$feature.Instance_Count - $feature.Previous_Year_Count"&amp;nbsp; However, I would like to show this change divided (/) by the&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;[Previous_Year_Count]&lt;/STRONG&gt;&lt;/EM&gt;.&amp;nbsp; It seems you are not able to write these long expressions.&amp;nbsp; Can you please advise how this can be accomplished.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GISOurData_0-1725253369674.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/114122i69176813939DC1BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GISOurData_0-1725253369674.png" alt="GISOurData_0-1725253369674.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Sep 2024 05:06:46 GMT</pubDate>
    <dc:creator>GISOurData</dc:creator>
    <dc:date>2024-09-02T05:06:46Z</dc:date>
    <item>
      <title>Dynamic Expression: Percentage (Year over Year, growth rate)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/dynamic-expression-percentage-year-over-year/m-p/1533989#M14658</link>
      <description>&lt;P&gt;Is it possible to populate a text box with a dynamic expression as a percentage?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have &lt;EM&gt;&lt;STRONG&gt;[Instance_Count] &lt;/STRONG&gt;&lt;/EM&gt;and &lt;EM&gt;&lt;STRONG&gt;[Previous_Year_Count]&lt;/STRONG&gt;&lt;/EM&gt;.&amp;nbsp; I can use Arcare to calculate the Change&lt;EM&gt;&lt;STRONG&gt; [Incident_Change]&lt;/STRONG&gt;&lt;/EM&gt; as "$feature.Instance_Count - $feature.Previous_Year_Count"&amp;nbsp; However, I would like to show this change divided (/) by the&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;[Previous_Year_Count]&lt;/STRONG&gt;&lt;/EM&gt;.&amp;nbsp; It seems you are not able to write these long expressions.&amp;nbsp; Can you please advise how this can be accomplished.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="GISOurData_0-1725253369674.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/114122i69176813939DC1BB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="GISOurData_0-1725253369674.png" alt="GISOurData_0-1725253369674.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 05:06:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/dynamic-expression-percentage-year-over-year/m-p/1533989#M14658</guid>
      <dc:creator>GISOurData</dc:creator>
      <dc:date>2024-09-02T05:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Expression: Percentage (Year over Year, growth rate)</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/dynamic-expression-percentage-year-over-year/m-p/1534907#M14690</link>
      <description>&lt;P&gt;It would look something like below.&amp;nbsp; This would be configured to operate on the selection view of a specific layer, so that when a feature is selected it makes the calculation for that feature.&amp;nbsp; If multiple features are selected it is calculating based on the sum of all features.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;((SUM({Instance_Count}) - SUM({Previous_Year_Count})) / SUM({Previous_Year_Count})) * 100 + "%"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 13:55:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/dynamic-expression-percentage-year-over-year/m-p/1534907#M14690</guid>
      <dc:creator>Marshal</dc:creator>
      <dc:date>2024-09-04T13:55:33Z</dc:date>
    </item>
  </channel>
</rss>

