Returning an attribute from a field in an Intersect operation is populating the Popup but showing up as Data Error in the attribute table when i click 'Show'. Also is there a way to not have to click Show each time and that these values will display for all features?
// access the boundaries layer
var boundaries = FeatureSetByName($map,"Boundaries")
// sql to filter required boundary level
var sql = "level = 4";
// apply filter
var boundary_subset = Filter(boundaries, sql);
// Intersect the point with the boundary
var point_intersect = Intersects($feature, boundary_subset);
// return the name field attribute from the boundary layer
return First(point_intersect).name;
