Filter DataTable
Filters the table's rows by conditions and a row range; keeps or removes the chosen columns. The filter is set in the window opened by the Configure Filter button on the activity. The input table is not modified; the result is written to the FilteredDataTable output.
⬅️INPUT
Parameter | Type | Required | Description |
|---|---|---|---|
|
| ✅ Yes | Table to filter. If empty (null), the result is an empty table. |
➡️OUTPUT
Parameter | Type | Description |
|---|---|---|
|
| Filtered table. |
Usage
The Configure Filter window has two tabs.
Filter Rows
Set Range: only the rows between Start Row and End Row are considered. Row numbers start at 1 and both ends are inclusive. An end left empty counts as the start or end of the table. The range is applied before the conditions; a row number outside the table causes an error.
Set Filter: if Keep is selected, rows that match the conditions remain; if Remove is selected, rows that match the conditions are removed. Each condition consists of the Column, Operation and Value fields. If there are several conditions, a row must match all of them. The column is given by its name or index (zero-based); variables can be used in the column and value fields.
Operations:
=,!=,>,<,>=,<=, Starts with, Ends with, Contains, Does not contain, Does not start with, Does not end with, Is empty, Is not empty. Comparisons follow the column's data type; text operations are case-sensitive. No value is entered for Is empty and Is not empty; empty cells and cells containing only whitespace count as empty.If no condition is defined, all rows remain.
Output Columns
If Keep is selected, only the listed columns appear in the result, in the order of the list. If Remove is selected, the listed columns are removed from the result.
If the list is empty, all columns remain. If a column in the list does not exist in the table, the activity throws an error.