To evaluate properties in an expression using an operator
Use the Operator buttons.
You can use the following types of operators:
For example, this expression could be used to label repair locations with the total amount spent on parts and labor for a pipe repair project:
PIPE_PARTS_COST + PIPE_LABOR_COST
For example, to find parcels whose assessed value is $100,000 or more, use this expression:
PARCEL_VALUE >= 100000
For example, to find only parcels that have a value for the PARCEL_OWNER property, use this expression:
NOT ADDRESS NULL
To find all parcels except those on Dewberry Drive or Lavendar Way, use one of these expressions:
NOT ( STNAME = 'DEWBERRY DR' ) AND NOT ( STNAME = 'LAVENDER WAY' )
NOT Property IN ( 'DEWBERRY DR','LAVENDER WAY')
Precede every operator with a property. For example, to find parcels whose last purchase date is after 1990 and before 2005, the expression must look like this one:
PURCHASE_DATE > 1990 AND PURCHASE_DATE < 2005
To evaluate properties in an expression using a function or option
You can use the following types of functions:
For example, to find the square root of the value representing parcel area, use this expression:
Sqrt(PARCEL_AREA)
Numeric functions are available from the Math Functions menu. For example, to round the assessed value of parcels down to the nearest lower whole dollar, use this expression:
Floor(PARCEL_VALUE)
For example, to convert pipe names to all uppercase letters, use this expression:
Upper(PIPE_NAME)
For example, to add one month to the start date for a project, use this expression:
AddMonths(START_DATE, 1)
You can use the following types of options:
Geometric options may include Area, Length2D, M, X, Y, and Z (depending on the feature source). For example, to find the perimeter value for parcels, use this expression (when Parcels is the current feature or layer):
Length2D(geometry property)
The Geometry property may have a different name in your data store. It is always listed under Geometry Properties in the Property list. Insert the property from the list. Do not change it manually or substitute a value for this property.
For example, to create label text that displays “Unoccupied” if the property Occupied is null, use this expression:
NullValue(OCCUPIED, 'Unoccupied')