Filter Options
This topic explores a few special operators used in filters when creating a report or creating a metric.
Filter Operators
-
LIKEfor pattern matching. This must be used with the wildcard characters % (for a wildcard with a variable number of letters) or _ (for a wildcard single letter). For example, the restrictionLIKE \_ake%would return true forJake Stein,Jake Smith, orFake Smith. It would return false forDrake Smith. -
NOT LIKEis similar to pattern matching above, but checks for which patterns do not match. -
ISchecks if the column isNULL, or empty. -
IS NOTis similar to theISoperator above, but checks for non-NULL columns. -
INchecks for a value’s presence in a comma-separated list. (for example, “ColorINred,orange” is the equivalent of colorequal tored OR colorequal toorange). -
NOT INis similar toINabove, but checks for a value’s absence.