User Tools

Site Tools


transformations:filter

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
transformations:filter [2015/04/10 11:29] elenaptransformations:filter [2015/06/12 20:48] dmitry
Line 3: Line 3:
 This transformation calculates an [[syntax:start|expression]] for every row (without adding a new column) and keeps only rows where this expression is true. Other rows are removed. This transformation calculates an [[syntax:start|expression]] for every row (without adding a new column) and keeps only rows where this expression is true. Other rows are removed.
  
-The expression should be logical and return a boolean value (i.e. either true or false).+The expression must be a valid condition -- it must return either TRUE or FALSE for any row in the table. If it results in non-boolean value (i.e. not TRUE or FALSEfor at least one row it will cause a project execution error.
  
 **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** **Example of transformation**
Line 49: Line 49:
 === See also === === See also ===
   * [[transformations:selectionfilter|Filter]]   * [[transformations:selectionfilter|Filter]]
 +  * [[syntax:start|Expression syntax]]
  
transformations/filter.txt · Last modified: 2024/03/07 10:22 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki