Hi everyone,
I would like to use dynamic text to display the number of points that fall within a polygon feature class in my ArcPro layout (*bonus points for an expression that only counts distinct ID values from my points layer*). Is this possible? This is what I have so far and keep getting an error:
var point = $feature;
var polygon = FeatureSetByName($datastore, "Buffer_of_Site_Address_Points_500m", ["BufferDist"], True);
var STA = Intersects(point, polygon)
var cnt = Count(STA);
return cnt;
