transformations:filter
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
transformations:filter [2015/03/20 21:33] – elenap | transformations:filter [2015/06/12 21:20] – dmitry | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Filter by Condition ===== | ===== Filter by Condition ===== | ||
- | This transformation calculates an [[syntax: | + | This transformation calculates an [[syntax: |
- | The expression | + | The expression |
**Examples of conditions** | **Examples of conditions** | ||
Line 15: | Line 15: | ||
| | ||
- | If no rows satisfy the condition then all rows get removed. | + | If no rows satisfy the condition then all rows are removed. |
+ | |||
+ | **Example of transformation** | ||
+ | |||
+ | **Source table:** The longest rivers in the world | ||
+ | |||
+ | ^ River ^ Length (km) ^ Continent | ||
+ | | Nile | 6650 | Africa | ||
+ | | Amazon | ||
+ | | Yangtze | ||
+ | | Mississippi | ||
+ | | Yenisei | ||
+ | | Yellow River | 5464 | Asia | | ||
+ | | Ob | 5410 | Asia | | ||
+ | | Paraná | ||
+ | |||
+ | |||
+ | **Objective: | ||
+ | |||
+ | **Transformation parameters: | ||
+ | |||
+ | * Column: Length (km) | ||
+ | * Expression: [Length (km)] > 6000 | ||
+ | |||
+ | **Output table:** | ||
+ | |||
+ | ^ River ^ Length (km) ^ Continent | ||
+ | | Nile | 6650 | Africa | ||
+ | | Amazon | ||
+ | | Yangtze | ||
+ | | Mississippi | ||
+ | |||
+ | === See also === | ||
+ | * [[transformations: | ||
+ | * [[syntax: | ||
+ | * [[syntax: |
transformations/filter.txt · Last modified: 2024/03/07 10:22 by dmitry