I've put together a dashboard which includes a map of building assessments. We've gone into the reassessment phase now, and they want the dashboard to only show the latest reassessment points now. I'm sure there is a way to do this in arcade- maybe a filter by or intersect? Multiple points (assessments) sit within a polygon parcel. Or maybe I'm really blanking and there's an even easier way to do it?
The project was set up in an emergency scenario, so we didn't get related tables set up if you're wondering.
Just want the green arrow dot to show within this parcel. Not the others.
Sorry if I've posted in the wrong section. Wasn't sure where this question would best fall under!
https://www.esri.com/arcgis-blog/products/arcgis-online/analytics/use-arcade-geometry-functions/
This blog post has some methods for this. Intersects returns a boolean true/false.
You probably want something that gets a featureset (a collection of all assessments) then filters. The filter can be done by something like contains() or by a building ID, if you have a key field in both the polygon and point layer. This could also be calculated if you don't have one, in ArcGIS Pro, and used for future point creation.
Or a longer method with no arcade:
Thanks @ChristopherCounsell . This looks like a good article. I've read over it am going to give it a go with my parcels and points. I'll try and go the Arcade pathway in Map Viewer rather than in Experience Builder or prebaking in ArcPro for this one. If I can get it to work in symbology I'll make everything but the most recent building assessment point transparent.
you won't be able to symbolize this way. no active spatial filter on points based on polygon.
Live way to do it is to have the polygon as the active layer, and the pop-up call upon the point layer.