Skip to content

Static lookup

Description

The Static Lookup activity allows you to transform values in a data column based on static rules. You can use either:

  • A Key-Value Mapping to convert specific values (e.g., AExcellent, BGood), or
  • A Range Mapping to assign labels based on numeric thresholds (e.g., 0–50Low, 51–100High).

The transformation result can be placed in the same column or in a new one. This is particularly useful for standardizing values, labeling data, or enriching tabular records with human-readable outputs.

Use case: You can clean up coded fields in survey results or product grades by mapping them to readable formats, or assign data buckets like “Low/Medium/High” to a numeric score column.

Input

  • Data – Required
    Tabular data with at least one column containing values to be mapped.

Output

Output TypeFormatDescription
DataTabularTransformed data with updated or additional mapped columns

Configuration Fields

Field NameDescription
ColumnColumn to which the mapping should be applied.
Create New ColumnWhether the result should go in a new column (true) or replace the original column (false).
New Column NameRequired if Create New Column is enabled. Name of the output column.
Include OriginalWhether to retain the original data columns in the final output.
Use Range LookupIf enabled, uses numeric ranges instead of key-value pairs.
Range Lookup ItemsRequired when using range lookup. List of {Start, End, Value} objects.
Lookup MapRequired when not using range lookup. Dictionary of original value → mapped value.

Sample Input

IDGradeScore
1A85
2B67
3C45
4D25

Sample Configuration – Key-Value Mapping

FieldValue
ColumnGrade
Create New Columntrue
New Column NameGrade_Full
Include Originaltrue
Use Range Lookupfalse
Lookup Map{ A: “Excellent”, B: “Good”, C: “Average”, D: “Poor” }

Output

IDGradeGrade_Full
1AExcellent
2BGood
3CAverage
4DPoor

Sample Configuration – Range Mapping

FieldValue
ColumnScore
Create New Columntrue
New Column NameScore_Bucket
Include Originaltrue
Use Range Lookuptrue
Range Lookup Items[{Start: 0, End: 50, Value: “Low”}, {Start: 51, End: 75, Value: “Medium”}, {Start: 76, End: 100, Value: “High”}]

Output

IDScoreScore_Bucket
185High
267Medium
345Low
425Low