Skip to content

Force Numerical Range

Description

This activity transforms the numerical values of the selected columns based on the specified upper and lower bounds.

  • If Clear Outliers is disabled
    • Values higher than the upper bound are converted to the upper bound value.
    • Values lower than the lower bound are converted to the lower bound value.
  • If Clear Outliers is enabled
    • rows with Values outside the specified range (upper and lower bounds) are cleared.

Input

Data only

Output

Transformed data

Configuration Fields

  • Column Names The names of the columns to apply the transformation.
  • Upper Bound The highest permissible value; values above this will be adjusted or cleared based on settings.
  • Lower Bound The lowest permissible value; values below this will be adjusted or cleared based on settings.
  • Clear Outliers (Switch) Specifies how out-of-range values should be handled.
    • If enabled, rows with values outside the bounds are deleted .
    • If disabled, values are clipped to the bounds.

Sample Input

ProductSalesRevenue
A5001000
B120000150000
C7500075000
D9005000

Sample Configuration

alt text

Sample Output

ProductSalesRevenue
A50010000
B120000100000
C7500075000
D90010000

Sample Output 2 (example when clear outliners is true)

ProductSalesRevenue
C7500075000