Hi,
Can anyone provide some insight as to why I am unable to execute my Arcade Expression? I can successfully test it but it will not let me execute it. I just learned how to use Data Expressions today with help from this community so I am very green.
Here's what my data expression looks like, while returning the correct number for "Count":
var features = FeatureSetByPortalItem(Portal('https://arcgis.com'), '5a735badf3114a3ba63e2a01b3cb1a68', 0, ['ACTIVE_ELE'], false);
Count(Features);

Then, when I press done and return to the previous page, I get this message:

This isn't the final script I want to use but I'm just playing with things for the time being.
Thank you!
Jenny