I am hoping to label features that are only visible on my map using an arcade expression. I removed particular field values from my Symbology menu so they don't show up on my map but they still get labeled. Here is my attempt to create an expression and the noted results:
I would greatly appreciate any help if you can guide me. Thanks!
Instead of removing features from the Symbology pane, you can use a query to display only the features with specific FacilityIDs that you want to show on the map.
Please refer to the following document for instructions on how to create a query on the layer and the image below:
Filter features with definition queries—ArcGIS Pro
Thanks
the definition query as per @Bilal_Alam_GIS post not only will remove from labeling, but will remove them from the attribute table as well (as per your other post).
R_
@RhettZufelt if you want to see all records in table but not in label in this case you can use label query to label only those features which you want.
Agree. But the OP has another similar post about records showing in the attribute table as well.
Was just pointing out that your definition query solution would solve both his questions.
R_