GreaterThanColumn / Boolean Layer

Create boolean mask columns by comparing if values in one column are strictly greater than corresponding values in another column. Similar to pandas df['A'] > df['B'] or R's element-wise comparison.

Common applications:

  • Performance comparison
  • Growth analysis
  • Threshold validation
  • Trend detection
  • Differential analysis

Example:

IndexCurrentPreviousGreater Than
010090true
17575false
2null80null
36070false
485nullnull
Table
0
0
Table

Compare

[, ...]

List of greater-than comparisons to perform. Each creates a new boolean column. Common scenarios:

  • Multiple metric comparisons
  • Cross-period analysis
  • Performance evaluations
  • Quality assessments

At least one comparison must be specified.

The column to compare (left side). Must contain ordered values (numeric, datetime, etc.). Null values result in null in the output mask. Common uses:

  • Current period values
  • New measurements
  • Actual results

Forms the left side of the comparison operation.

The column to compare against (right side). Must be comparable with SelectLeft. Null values result in null in the output mask. Common uses:

  • Previous period values
  • Baseline measurements
  • Expected results

Forms the right side of the comparison operation.

Name for the new column. If not provided, the system generates a unique name. If AsColumn matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.