Category: Transform / Filters
This action filters values depending on their data type. Filtering can be applied to several columns at once, as well as multiple data types.
Filtering by type helps detect data quality issues by ensuring that columns in the exported dataset are strongly typed (i.e. all values in a column are of the same type). This might be required before exporting into a target system with strongly typed fields, such as a relational database or a Tableau data extract.
Setting | Description |
---|---|
Filter mode | Select whether to keep or remove values of the types specified. Options: Keep only values of selected type(s) or Remove values of the selected types. |
Data types | Select the data types to be filtered by. Options: Text, Number, Boolean, Error, and Empty (null). |
Columns to check | Select whether to check the entire table or specific columns. Options: Entire table or Particular columns (and select the columns to check). |
In cases where no values match the search string:
Filtering our (or keeping) errors refers to errors produced within EasyMorph (shown in red type). Errors generated within imported data are captured as text values, not errors (e.g. a "#DIV/0!" error in Excel).
Filter out all non-numeric values in the "Length (km)" column.
River | Length (km) | Continent |
---|---|---|
Nile | 6650 | Africa |
Amazon | NA | South America |
Yangtze | 6300 | Asia |
Mississippi | 6275 | North America |
Yenisei | Asia |
River | Length (km) | Continent |
---|---|---|
Nile | 6650 | Africa |
Yangtze | 6300 | Asia |
Mississippi | 6275 | North America |
Filter mode: Keep only values of selected type(s)
Data types: Number
Columns to check: Particular columns (Length (km))
Remove all rows with calculation errors.
Name | Sold | Goal | Sell Pct |
---|---|---|---|
Mark | 12 | 16 | .75 |
Sava | 10 | 12 | .83 |
Mary | 0 | 0 | #error |
Marta | 7 | 7 | 1.00 |
Eric | 0 | 0 | #error |
Name | Sold | Goal | Sell Pct |
---|---|---|---|
Mark | 12 | 16 | .75 |
Sava | 10 | 12 | .83 |
Marta | 7 | 7 | 1.00 |
Filter mode: Remove values of selected type(s)
Data types: Error
Columns to check: Particular columns (Sell Pct)