Infoveave Data Automation — Pivot & Transpose
Every unique category value becomes its own binary column — 1 if the row matches, 0 if it does not.
Machine learning models, pivot analysis, and many BI tools require categories to be expressed as binary indicator columns rather than a single text column. Unfold Column automates that encoding step: it scans the selected column for all unique values and creates a new 0/1 column for each one — so a Status column with three values becomes three indicator columns — without any manual dummy variable coding or pivot table setup.
Convert unique category values into binary indicator columns in Infoveave workflows. One-hot encode status, type, or tag columns for machine learning, filtering, and pivot analysis.
Unfold Column is one step inside a multi-step Infoveave workflow. Chain it with other activities — no code, no manual hand-offs.
Build this workflow visually in Infoveave Data Automation — drag, connect, and schedule with no infrastructure setup.
Real scenarios where this transformation saves hours of manual work.
A manufacturing data science team feeds machine status data into a predictive maintenance model. The Status column contains values Running, Idle, Warning, and Fault. Unfold Column creates four binary indicator columns — one per status — so the model receives numerical features instead of a text column. The workflow encodes the status automatically on every data refresh, ensuring the model always receives correctly formatted input.
A healthcare analytics team needs binary flags for each primary diagnosis category in a patient dataset. The primary Diagnosis column contains four values representing the major diagnostic groups. Unfold Column generates one indicator column per diagnosis group, letting the risk scoring model treat each diagnosis as an independent numeric feature rather than a categorical string.
A retail analytics team wants to analyze revenue by order channel in a pivot-compatible format. The Channel column has values Online, In-Store, and Marketplace. Unfold Column produces three binary columns — Channel_Online, Channel_In-Store, Channel_Marketplace — so the BI tool can sum revenue by channel by simply multiplying the revenue column by each indicator column without requiring a GROUP BY or manual filter.
Input data (left) is transformed using the configuration below. The output table (right) is ready for dashboards or downstream steps.
CategoryDisabledInput Data
| ID | Category |
|---|---|
| 1 | A |
| 2 | B |
| 3 | A |
| 4 | C |
| 5 | B |
Output Data
| ID | Category_A | Category_B | Category_C |
|---|---|---|---|
| 1 | 1 | 0 | 0 |
| 2 | 0 | 1 | 0 |
| 3 | 1 | 0 | 0 |
| 4 | 0 | 0 | 1 |
| 5 | 0 | 1 | 0 |
Key fields to configure in the Infoveave workflow builder. Full reference available in the documentation.
Column to Unfold
Select the categorical column whose unique values will become binary indicator columns. The activity scans the column for all distinct values and creates one new 0/1 column for each unique value. The new column names are derived from the original column name combined with each unique value.
Include Original
When enabled, the original categorical column is retained in the output alongside the new binary indicator columns. When disabled (the default), the original column is replaced by the expanded binary columns. Enable Include Original when you need both the text category and the binary flags in the same output — for example, when the text label is still needed for display while the binary columns are needed for calculation.
Everything you need to know about Unfold Column in Infoveave.
Transformations in the same family as Unfold Column, often chained together in the same Infoveave workflow.
Part of Infoveave Data Automation
Unfold Column is one of over 80 transformation activities available inside Infoveave workflows. Chain transformations together — no code, no exports, no waiting for IT.
Ready to see Infoveave in action?