User Tools

Site Tools


transformations:selectionfilter

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
transformations:selectionfilter [2015/04/10 10:57] elenaptransformations:selectionfilter [2021/04/25 13:32] craigt
Line 1: Line 1:
-===== Filter =====+{{ transformations:SelectionFilterAction.png}} 
 +====== FILTER ====== 
 +Category: Transform / Filters\\
  
-This is filtering transformation that allows quickly finding specific data in a tableData can be filtered in one column at a time.+\\  
 +=====Description===== 
 +This action filters dataset based on selected values in a specified column The action can be set to either keep the rows or remove them.\\
  
-Filtered data displays only the rows that meet the pre-defined criteria and hides rows that you do not want displayed+\\ 
 +=====Use cases===== 
 +Create subsets of a dataset based on values in a specific column.
  
-EXAMPLE+Clean a dataset by removing records that may have "junk" data in a specific column. 
  
-**Source table:** The longest rivers in the world+Remove or keep records containing a "flag" value in a specific column.
  
- River   Length (km)  ^  Continent  +\\  
-Nile   6650  |  Africa  | +=====Action settings===== 
-Amazon  |  6400  |  South America +^Setting ^Description 
-| Yangtze  |  6300  |  Asia  | +|Filter column|Select the column containing the values to be used for filtering.  | 
-| Mississippi  |  6275  |  North America +|Keep/Remove columns|Select whether to keep the rows containing the selected values or remove them.  Select the individual values\\ to keep/remove from the list at the bottom of the settings pane.  Options:  //Keep only selected values// or\\ //Remove selected values//.|
-| Yenisei  |  5539  |  Asia  | +
-| Yellow River  |  5464  |  Asia  | +
-| Ob  |  5410  |  Asia  | +
-| Paraná  |  4880  |  South America  |+
  
 +\\
 +=====Remarks=====
 +This action keeps or removes rows containing selected whole values in a single column and does not support partial matches or multiple columns.\\
  
-**Objective:** Find out which are the longest rivers in both Americas+The choice to use //keep// vs. //remove// depends on how you want to handle new values that are introduced in the dataset.  If you select specific values to //keep//, the new values will not appear in the dataset.  If you select specific values to //remove//, the new values will appear in the dataset.\\
  
-**Transformation parameters:**+\\  
 +=====Examples===== 
 +**Objective:** Find out which are the longest rivers in both Americas.\\
  
-  Column: Continent +**Source table:** The longest rivers in the world 
-  * Filtering modeKeep only selected values +^River  ^Length (km)  ^Continent  ^ 
-  Values: South America; North America   +| Nile  |  6650| Africa 
- +| Amazon  |  6400| South America 
-**Output table:** +| Yangtze  |  6300| Asia  | 
- +| Mississippi  |  6275| North America 
- River  ^  Length (km)  ^  Continent +| Yenisei  |  5539| Asia  | 
-| Amazon  |  6400   South America +| Yellow River  |  5464| Asia  | 
-| Mississippi  |  6275   North America +| Ob  |  5410| Asia  | 
-| Paraná  |  4880   South America  |+| Paraná  |  4880| South America 
 +\\  
 +**Action parameters:** 
 +> Column is "Continent" 
 +Filtering mode is "Keep only selected values" 
 +Values selected"South America""North America  " 
 +\\  
 +**Result:** 
 +^River  ^Length (km)  ^Continent 
 +| Amazon  |  6400| South America 
 +| Mississippi  |  6275| North America 
 +| Paraná  |  4880| South America  |
  
-=== See also === +\\  
-  * [[transformations:filter]]+=====See also===== 
 +  * [[transformations:filter|Filter by condition]] 
 +  * [[transformations:searchfilter|Filter by search]] 
 +  * [[transformations:filterbytype|Filter by type]]
  
transformations/selectionfilter.txt · Last modified: 2021/07/19 01:03 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki