<?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: Functions in Dashboard Expressions in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/functions-in-dashboard-expressions/m-p/1272640#M7543</link>
    <description>&lt;P&gt;This helped greatly!&amp;nbsp; Looks like there is some networking shenanigans that I can trace down now. Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 28 Mar 2023 18:18:11 GMT</pubDate>
    <dc:creator>ARose615</dc:creator>
    <dc:date>2023-03-28T18:18:11Z</dc:date>
    <item>
      <title>Functions in Dashboard Expressions</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/functions-in-dashboard-expressions/m-p/1272381#M7540</link>
      <description>&lt;P&gt;I am creating a dashboard expression to help visualize some operational metrics for my organization in our Portal.&amp;nbsp; This expression will eventually be a list element.&lt;/P&gt;&lt;P&gt;I am able to reference the data I need, but as soon as I use either the GroupBy or Filter functions (both of which, I will need to run), I get an execution error with the message "Error".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var agLands = FeatureSetByPortalItem(Portal(port),
    agLID,
    0,
        ['irrig',
        'acres2021',
        'doc_name'],
    False)
var irrigr = Filter(agLands,"irrig = 'Y'");
        &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I previously defined the portal ( var port), as well as the itemID for the agLands variable (agLID).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to run the script when defining the irrigr variable without the filter function, but as soon as the filter function, I receive the Execution Error:Error message.&amp;nbsp; If it matters, we are using Enterprise 10.9.1. I've talked to the Enterprise Administrator, and he doesn't see any errors resulting from this script.&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 12:10:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/functions-in-dashboard-expressions/m-p/1272381#M7540</guid>
      <dc:creator>ARose615</dc:creator>
      <dc:date>2023-03-28T12:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Functions in Dashboard Expressions</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/functions-in-dashboard-expressions/m-p/1272451#M7541</link>
      <description>&lt;P&gt;Try running the script with your browser's developer tools open and watch the &lt;STRONG&gt;network &lt;/STRONG&gt;tab.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_0-1680011632781.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66493i41A91402B9D9ED4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_0-1680011632781.png" alt="jcarlson_0-1680011632781.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The response to the query will often have more information in the event that the expression is not successful.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jcarlson_1-1680011666636.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/66494i1CDA51911351CC23/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jcarlson_1-1680011666636.png" alt="jcarlson_1-1680011666636.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you get anything useful from that?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 13:55:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/functions-in-dashboard-expressions/m-p/1272451#M7541</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2023-03-28T13:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Functions in Dashboard Expressions</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/functions-in-dashboard-expressions/m-p/1272640#M7543</link>
      <description>&lt;P&gt;This helped greatly!&amp;nbsp; Looks like there is some networking shenanigans that I can trace down now. Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 18:18:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/functions-in-dashboard-expressions/m-p/1272640#M7543</guid>
      <dc:creator>ARose615</dc:creator>
      <dc:date>2023-03-28T18:18:11Z</dc:date>
    </item>
  </channel>
</rss>

