Skip to content

Filter on numerical range

Description

The Filter on Numerical Range activity allows you to filter, flag, or clean data based on numeric thresholds. You can apply the configuration to one or more numeric columns and define how to handle values falling within or outside the given range.

Use Case:
Useful when validating numeric inputs, preparing data for analytics, or removing anomalies by applying logical filters based on defined minimum and maximum values.


Input

TypeDescription
DataTabular dataset with numeric columns.

Output

TypeDescription
Transformed DataModified dataset based on the configured filtering behavior.

Configuration Fields

Field NameRequiredDescription
ColumnsYesOne or more columns to evaluate for range filtering.
Minimum ValueYesLower boundary of the numeric range (inclusive).
Maximum ValueYesUpper boundary of the numeric range (inclusive).
ActionsYesWhat to do with values inside or outside the specified range:
  • Keep Matching Rows
  • Remove Matching Rows
  • Flag Rows
  • Clear Content of Matching Cells
  • Clear Content of Non-Matching Cells
FlagRows ActionConditionalRendered only if Action is Flag Rows. Specifies row matching logic:
  • Flag if Any Column Matches
  • Flag if All Columns Match
Flag Rows Column NameConditionalName of the column used to indicate flag status. Required when Flag Rows action is selected.

Sample Input

column_1column_2
5data1
10data2
25data3
50data4
75data5

Sample Configuration

FieldValue
Columnscolumn_1
Minimum Value10
Maximum Value50
ActionFlag Rows
Flag Rows ActionFlag if Any Matches
Flag Rows Column Namerange_flag

Sample Output 1 (Action: Keep Matching Rows)

column_1column_2
10data2
25data3
50data4

Sample Output 2 (Action: Remove Matching Rows)

column_1column_2
5data1
75data5

Sample Output 3 (Action: Flag Rows – Flag if Any Column Matches)

column_1column_2range_flag
5data10
10data21
25data31
50data41
75data50

Sample Output 4 (Action: Clear Content of Matching Cells)

column_1column_2
5data1
data2
data3
data4
75data5

Sample Output 5 (Action: Clear Content of Non-Matching Cells)

column_1column_2
data1
10data2
25data3
50data4
data5

Combine this activity with Extract Numbers or Filter on Date Range for multi-layered data validation.