Hi all,
I'm trying to use an Arcade expression in my web map pop-up to list the most current inspection reading for a point. I have a set of location points with a related 1:M inspection table which includes numerous readings per point (with dates) recorded over the last several months. This is what I have:
var Ra=(FeatureSetByRelationshipName($feature,"Bal2021"));
var Rb=Reverse([Ra]);
return First(Rb);
Test returns the entire array in chronological order. Can anyone please suggest how I could display just the most current reading?