Skip to content

Split and fold columns

Description

The Split and Fold Columns activity is used to normalize a column that contains multiple values separated by a delimiter (e.g., comma, pipe). It splits the values into individual rows and duplicates the remaining column values for each new entry.

This transformation is helpful when your data contains lists or multi-valued fields that need to be processed or visualized independently.

Use this activity to:

  • Convert comma-separated tags or categories into individual rows
  • Prepare data for filtering or aggregation
  • Normalize structured fields for downstream processing

Use case:
A dataset contains a “Tags” column with values like "Red,Blue,Green". Using this activity, each color becomes a separate row, making it easier to filter or analyze tag-specific data.

Input

TypeDescription
DataA dataset where one column contains delimited values to be split into multiple rows.

Output

TypeDescription
DataTransformed dataset with the selected column split into multiple rows, and other columns duplicated.

Configuration Fields

Field NameDescription
Column To SplitSelect the column whose values should be split into separate rows.
SeparatorThe delimiter used to separate values within the selected column. Example: , for comma-separated values.

Sample Input

IDNameTags
101JohnRed,Blue,Green
102AliceYellow,Orange
103MarkBlack
104EmmaWhite,Gray,Silver
105BobPink

Sample Configuration

Column To SplitTags
Separator, (comma)

Sample Output

IDNameTags
101JohnRed
101JohnBlue
101JohnGreen
102AliceYellow
102AliceOrange
103MarkBlack
104EmmaWhite
104EmmaGray
104EmmaSilver
105BobPink