<?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 Re: Arcade script issue in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1488837#M59679</link>
    <description>&lt;P&gt;Add a Map Action to the map and target your indicator. You will probably want to target both the value and reference value.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Jun 2024 11:59:33 GMT</pubDate>
    <dc:creator>JenniferAcunto</dc:creator>
    <dc:date>2024-06-11T11:59:33Z</dc:date>
    <item>
      <title>Arcade script issue</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1487473#M59636</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am creating a dashboard on ARCGIS Online and am wanting to add an indicator. The indicator I want to create requires me to create a new data expression. I want it to show the Call Percentage, which would be the total count of the "Code" field/ total count of the "Dispositions" field. The majority of the data in the dispositions field is empty if that helps. I figured out how to run it and get the correct output, but whenever I press Done it says that "Unable to execute Arcade script". It looks like I need to return a FeatureSet instead of text, but I run into even more problems when I try to return a FeatureSet it says"error: Execution error - Cannot access value using a key of this type. Verify test data". Can anyone help me with this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 21:32:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1487473#M59636</guid>
      <dc:creator>CallahanWalker</dc:creator>
      <dc:date>2024-06-07T21:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade script issue</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1487573#M59645</link>
      <description>&lt;P&gt;Sharing your expression would be helpful in figuring it out. It sounds like a simple enough problem, but it's hard to know exactly what's wrong without seeing it.&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jun 2024 03:04:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1487573#M59645</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2024-06-08T03:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade script issue</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1488183#M59655</link>
      <description>&lt;P&gt;From what you've described, you don't need a Data Expression. Make the Code value your normal indicator data value, use the Reference field to grab the Dispositions value, and then display the {ratio} in the indicator display. Similar to the first example that sums two fields, but you don't even need to get into the Advanced Formatting section &lt;A href="https://community.esri.com/t5/arcgis-dashboards-blog/dashboards-that-pop-indicator-hacks/ba-p/1362510" target="_self"&gt;Dashboards That Pop: Indicator Hacks&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 11:37:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1488183#M59655</guid>
      <dc:creator>JenniferAcunto</dc:creator>
      <dc:date>2024-06-10T11:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade script issue</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1488479#M59669</link>
      <description>&lt;P&gt;Thank you so much for this. Can I somehow make the indicator update as I zoom in and out of the map?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 20:24:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1488479#M59669</guid>
      <dc:creator>CallahanWalker</dc:creator>
      <dc:date>2024-06-10T20:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade script issue</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1488491#M59671</link>
      <description>&lt;P&gt;Also, if I want to create indicators based on a specific value in a field, can I do so this way? For instance I want to reference only the dispositions where the value is "SOLD" in an equation.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 20:43:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1488491#M59671</guid>
      <dc:creator>CallahanWalker</dc:creator>
      <dc:date>2024-06-10T20:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade script issue</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1488836#M59678</link>
      <description>&lt;P&gt;Add a data source filter.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JenniferAcunto_0-1718106997705.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/106720i3DC2980797685E7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JenniferAcunto_0-1718106997705.png" alt="JenniferAcunto_0-1718106997705.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 11:56:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1488836#M59678</guid>
      <dc:creator>JenniferAcunto</dc:creator>
      <dc:date>2024-06-11T11:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade script issue</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1488837#M59679</link>
      <description>&lt;P&gt;Add a Map Action to the map and target your indicator. You will probably want to target both the value and reference value.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 11:59:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1488837#M59679</guid>
      <dc:creator>JenniferAcunto</dc:creator>
      <dc:date>2024-06-11T11:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade script issue</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1488921#M59685</link>
      <description>&lt;P&gt;Thank you so much for the help. If I want to use division instead of a ratio or percentage, would I have to use advanced formatting?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2024 15:16:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1488921#M59685</guid>
      <dc:creator>CallahanWalker</dc:creator>
      <dc:date>2024-06-11T15:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade script issue</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1490799#M59696</link>
      <description>&lt;P&gt;Ratio is just the value divided by the reference but if you wanted some other math, then yes you would set that up using the Advanced Formatting.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 17:08:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1490799#M59696</guid>
      <dc:creator>JenniferAcunto</dc:creator>
      <dc:date>2024-06-12T17:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade script issue</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1493185#M59732</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I am creating a dashboard on ARCGIS Online and am wanting to add an indicator. The indicator I want to create requires me to create a new data expression. I want it to show the Call Percentage, which would be the total count of the "Code" field/ total count of the "Dispositions" field. The majority of the data in the dispositions field is empty if that helps. I figured out how to run it and get the correct output, but whenever I press Done it says that "Unable to execute Arcade script". It looks like I need to return a FeatureSet instead of text, but I run into even more problems when I try to return a FeatureSet it says"error: Execution error - Cannot access value using a key of this type. Verify test data". Can anyone help me with this?&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 15 Jun 2024 09:07:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/arcade-script-issue/m-p/1493185#M59732</guid>
      <dc:creator>j1assa</dc:creator>
      <dc:date>2024-06-15T09:07:08Z</dc:date>
    </item>
  </channel>
</rss>

