Filter Options
This topic explores a few special operators
used in filters
when creating a report or creating a metric.
Filter Operators
-
LIKE
for 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 LIKE
is similar to pattern matching above, but checks for which patterns do not match. -
IS
checks if the column isNULL
, or empty. -
IS NOT
is similar to theIS
operator above, but checks for non-NULL columns. -
IN
checks for a value’s presence in a comma-separated list. (for example, “ColorIN
red,orange” is the equivalent of colorequal to
red OR colorequal to
orange). -
NOT IN
is similar toIN
above, but checks for a value’s absence.