Skip to content

Force numerical range

Description

The Force Numerical Range activity ensures numeric values in selected columns stay within a user-defined range. This helps normalize data, reduce the impact of extreme values, and prepare datasets for further analysis or modeling.

You can either clip values to stay within bounds or clear outliers entirely based on configuration.


Input

TypeDescription
DataDataset with numeric columns to evaluate.

Output

TypeDescription
Transformed DataData with numeric values forced within range or outliers removed.

Configuration Fields

Field NameRequiredDescription
Column NamesYesOne or more numeric columns to apply the transformation to.
Lower BoundYesMinimum allowable value. Values below this will be handled accordingly.
Upper BoundYesMaximum allowable value. Values above this will be handled accordingly.
Clear OutliersNoIf enabled, removes rows with values outside bounds. Otherwise, clips values.

When Clear Outliers is enabled, any row containing a value outside the range in any selected column is removed.


Behavior Summary

Clear OutliersAction
DisabledOut-of-range values are replaced with the closest bound.
EnabledEntire rows with any out-of-range value are removed.

Sample Input

ProductSalesRevenue
A5001000
B120000150000
C7500075000
D9005000

Sample Configuration

FieldValue
Column NamesSales, Revenue
Lower Bound500
Upper Bound100000
Clear OutliersDisabled

Sample Output (Clear Outliers = Disabled)

ProductSalesRevenue
A5001000
B100000100000
C7500075000
D9005000

Sample Output (Clear Outliers = Enabled)

ProductSalesRevenue
C7500075000