When trying to perform a simple label expression on a feature service, my colleague and I have different experiences. I'm using ArcGIS Pro 2.5.1 and my expression labels correctly (Image 1). My colleague is using ArcGIS Pro 2.5.2 and his expression fails stating 'Invalid Expression. No features found.' (Image 2)
We've tried both Arcade and Python.
Image 1. Correct behavior in ArcGIS Pro 2.5.1:
Image 2. Incorrect behavior in ArcGIS Pro 2.5.2:
Does anyone have any insight on why this may be happening, and even better, ways to solve the issue on 2.5.2?
Thanks!
Mike
This expression works for me in 2.5.2.
My mocked up blm_acres field is a float and surv_numb is short.
What are your fields' data types?
Mike, I created new fields to mimic your data and don't get an error in 2.5.2
Is there anything else driving the values in those fields? At this point, it might be best to work with technical support to investigate further.
I was getting this same error, 'Invalid Expression. No features found.' Then I checked the SQL tab within the Labeling pane and realized I had an old query still set to filter data. Once I cleared that, the label expression validated and the labels appeared 🙂
Had the same problem, and this fixed it, thank you!
Same problem, this helped me too.