I am trying to pull from a feature set the location by filtering it by the relationship ID. I have similar formulas that work fine, but for some reason I am having trouble with this one. I have the following, could someone please help? The below rule is working, but pulling the first row from attribute table. Thanks
var Land = FeatureSetByName($datastore, "Land", [ "Location","Name","County","School_District","ID"]);
VAR LOCATION = FILTER(LAND,"ID=$feature.ID")
FOR(VAR I IN LAND)
RETURN I.LOCATION