My problem is with expression labeling in ArcMap (ArcGIS Desktop 10.5.1). I have a layer named 'Figure location'. The layer has a field- named 'Figure name' with values for instance- Fig. 1, Fig. 2, Fig. 3, Fig. 4 etc. I would like to show only the values Fig. 2 and Fig. 3 as label and not others. See the attached image.

enter image description here

Here's the image attached. Just a screen shot

  • You have a tag for ArcGIS Pro but your picture looks like ArcMap. Which are you using?
    – PolyGeo
    Nov 24, 2020 at 10:55

1 Answer 1


You don't need a label expression to do that.

  • On the Labels tab of the layer's properties, select Method: Define classes of features and label each class differently
  • Click SQL Query and set the Where clause to Fig_number in ('Fig. 2', 'Fig. 3', 'Fig. 4'), → OK
  • Set Label field to Fig_number
  • @Baky You can thank me by marking this as the answer ;-)
    – Berend
    Nov 24, 2020 at 14:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.