transformations:trimtable
Differences
This shows you the differences between two versions of the page.
transformations:trimtable [2015/04/17 09:01] – created dmitry | transformations:trimtable [2023/10/05 00:33] (current) – dmitry | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Trim Table ===== | + | {{ transformations: |
+ | ====== | ||
+ | Category: Transform / Filters\\ | ||
- | This transformation | + | \\ |
+ | =====Description===== | ||
+ | This action | ||
- | EXAMPLE | + | \\ |
+ | =====Use cases===== | ||
+ | Keep only the top N significant items (e.g. top 10 products by sales volume) for a report or dashboard. | ||
- | **Source | + | Reduce the size of a larger dataset to a specific number of rows during the initial build of a workflow. |
- | ^ River ^ Length (km) ^ Continent | + | Remove extraneous metadata from the top or bottom of a dataset.\\ |
- | | Nile | 6650 | Africa | + | |
- | | Amazon | + | |
- | | Yangtze | + | |
- | | Mississippi | + | |
- | | Yenisei | + | |
- | | Yellow River | 5464 | Asia | | + | |
- | | Ob | 5410 | Asia | | + | |
- | | Paraná | + | |
+ | \\ | ||
+ | =====Action settings===== | ||
+ | ^Setting ^Description ^ | ||
+ | |Keep only/ | ||
+ | |Top/ | ||
+ | |N rows< | ||
+ | < | ||
- | **Objective:** Keep the three top rows in the table | + | \\ |
+ | =====Examples===== | ||
+ | **Example:** Keep the top three longest rivers.\\ | ||
+ | \\ | ||
+ | **Table:** The longest rivers | ||
+ | ^River | ||
+ | | Nile | 6650|Africa | ||
+ | | Amazon | ||
+ | | Yangtze | ||
+ | | Mississippi | ||
+ | | Yenisei | ||
+ | | Yellow River | 5464|Asia | ||
+ | | Ob | 5410|Asia | ||
+ | | Paraná | ||
+ | \\ | ||
+ | **Action parameters: | ||
+ | > Keep or Remove is " | ||
+ | > Top or Bottom is " | ||
+ | > Number of rows is " | ||
+ | \\ | ||
+ | **Result | ||
+ | ^River | ||
+ | | Nile | 6650|Africa | ||
+ | | Amazon | ||
+ | | Yangtze | ||
- | **Trim mode** | + | \\ |
- | * Keep only top rows | + | ====Community examples==== |
+ | | ||
+ | | ||
+ | | ||
+ | * [[https:// | ||
+ | \\ | ||
+ | =====See also===== | ||
+ | * [[transformations: | ||
+ | * [[transformations: | ||
- | **Transformation parameters: | ||
- | * Number of rows: 3 | ||
- | |||
- | **Output table:** | ||
- | |||
- | ^ River ^ Length (km) ^ Continent | ||
- | | Nile | 6650 | Africa | ||
- | | Amazon | ||
- | | Yangtze |
transformations/trimtable.1429275707.txt.gz · Last modified: 2015/04/17 09:01 by dmitry