Skip to content

Static Lookup

Description

The Static Lookup activity maps values from one column to new values using either:

  • A key-value dictionary (e.g., A → Apple, B → Banana), or
  • A numeric range lookup (e.g., 0–50 → Low, 51–100 → High)

You can overwrite the original column or create a new column. It’s useful for converting coded values into readable formats, assigning labels based on score ranges, or cleaning inconsistent inputs.

Input

  • Data – Required
    Tabular input with a column containing values to be mapped.

Output

Output TypeFormatNotes
DataTabularTransformed data with values replaced or new column added

Configuration Fields

Field NameDescription
ColumnRequired. Column to apply the lookup on.
Create New ColumnOptional. Whether to place the result in a new column.
New Column NameRequired if CreateNewColumn is true. Name of the column to store the lookup result.
Include OriginalOptional. Whether to include the original data in the output.
Use Range LookupIf true, enables numeric range mapping. Otherwise, key-value dictionary mapping is used.
Range Lookup ItemsRequired when range lookup is enabled. List of { Start, End, Value } items.
Lookup MapRequired when range lookup is disabled. Dictionary of input → output mappings.

Sample Input

IDGradeScore
1A85
2B67
3C45
4D25

Sample Configuration 1: Using Key-Value Mapping

FieldValue
ColumnGrade
CreateNewColumntrue
NewColumnNameGrade_Full
IncludeOriginaltrue
UseRangeLookupfalse
LookupMap{ A: “Excellent”, B: “Good”, C: “Average”, D: “Poor” }

Output

IDGradeGrade_Full
1AExcellent
2BGood
3CAverage
4DPoor

Sample Configuration 2: Using Range Mapping

FieldValue
ColumnScore
CreateNewColumntrue
NewColumnNameScore_Bucket
IncludeOriginaltrue
UseRangeLookuptrue
RangeLookupItems[{ 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