Skip to content
Learn › Clean and shape data › Filter rows: open the docs menu

Filter operators for text, number and date columns

In a Conditional Filter in Builder mode, the column's type decides which operators you can pick. On a Date column you also choose a time interval, which lets you filter by month, weekday, year or a rolling window. For the filter steps, see Filter rows.

Operators for text columns

OperatorKeeps rows where the value…
isexactly equals the value, or any one of several values you enter
is notdoesn't equal the value, or any of several values you enter
containsincludes the text, or any one of several texts you enter, anywhere
does NOT containdoesn't include the text anywhere
starts withbegins with the text
ends withends with the text
does NOT start withdoesn't begin with the text
does NOT end withdoesn't end with the text
is Emptyis null or blank
is NOT Emptyhas any non-null, non-blank value

Operators for number columns

OperatorKeeps rows where the value…
isexactly equals the number, or any one of several numbers you enter
is notdoesn't equal the number, or any of several numbers you enter
is less thanis strictly less than the number
is less than or equal tois less than or equal to the number
is greater thanis strictly greater than the number
is greater than or equal tois greater than or equal to the number
is MAX valueequals the column's maximum
is NOT MAX valuedoesn't equal the maximum
is MIN valueequals the column's minimum
is NOT MIN valuedoesn't equal the minimum
is Emptyis null
is NOT Emptyhas any non-null value
in between (exclusive)falls between two numbers, not including the endpoints

On a Number column marked as an ID, starts with and does NOT start with are also offered, near the top after is and is not. They match on the digits, so starts with 40 keeps 4012 and 40877.

Operators for date columns

OperatorKeeps rows where the date…
isequals the date
is NOTdoesn't equal the date
is later thanis after the date
is on or later thanis on or after the date
is earlier thanis before the date
is on or earlier thanis on or before the date
in between (exclusive)falls between two dates, not including the endpoints
is Emptyis null
is NOT Emptyhas any non-null value

Filter dates by month, weekday, year or a rolling window

On a Date column with the Value comparison type, a Select time interval dropdown appears before the value. It sets how precisely dates are compared and what you enter. in between (exclusive) skips it and shows a date-time picker for each end.

Time intervalYou enterThe condition compares
DateA dateThe date, ignoring the time of day
Date - Time in secondsA date and time to the secondDate and time, to the second
Date/MinuteA date and timeDate and time, to the minute
Date/HourA date and hourDate and time, to the hour
Year/MonthA year and a monthYear and month only
YearA yearYear only
Day of MonthA day from 1 to 31The day of the month in any month and year
MonthA month nameThe month in any year
WeekdayA weekdayThe day of the week
Earliest single valueNothingThe earliest date in the column
Latest single valueNothingThe latest date in the column
Earliest Date - TimeA number and a unit (Year to Second)The earliest date in the column plus that amount
Latest Date - TimeA number and a unit (Year to Second)The latest date in the column plus that amount. Enter a negative number to go back.
Current Date (UTC)A number and a unit (Year, Month, Week or Day)The UTC date the step runs, plus that amount

Earliest, latest and current date options are worked out again on each run. To keep the last 30 days, choose is on or later than, set the interval to Current Date (UTC), and enter -30 Days. The window moves forward on every run.

Was this page helpful?

Something wrong? support@mammoth.io