I am creating a dashboard expression to help visualize some operational metrics for my organization in our Portal. This expression will eventually be a list element.
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".
var agLands = FeatureSetByPortalItem(Portal(port),
agLID,
0,
['irrig',
'acres2021',
'doc_name'],
False)
var irrigr = Filter(agLands,"irrig = 'Y'");
I previously defined the portal ( var port), as well as the itemID for the agLands variable (agLID).
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. 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.
Any help would be appreciated.