Skip to content

Fill empty cells

Description

The Fill empty cells activity fills missing values in selected columns using a configured fill strategy. Each column can use its own fill type, allowing a workflow to combine statistical fills for numeric fields with previous or next value fills for ordered data.

Supported Features

  • Multiple columns: Configure one or more columns in a single activity.
  • Per-column fill strategy: Choose a different fill type for each column.
  • Previous value fill: Fill from the previous row using PreviousValue.
  • Next value fill: Fill from the next row using NextValue.
  • Statistical fills: Fill using Mean, Median, or Mode.
  • In-place replacement: Filled values replace the original column values.

Input

TypeRequiredDescription
DataYesInput rows containing columns with null or empty values.

Input Scenarios

1. Numeric Columns

Use Mean, Median, or Mode to fill missing numeric values.

2. Ordered Data

Use PreviousValue or NextValue when row order is meaningful, such as daily readings or grouped records.

3. Mixed Strategies

Configure different fill types for different columns.


Output

FieldTypeDescription
DataArrayTransformed rows with selected columns filled. Columns not included in ColumnMap are unchanged.

Example Output

IdAgeSalaryDepartment
12550000Sales
22852000Sales
33052333.33Finance

Configuration Fields

Field NameTypeRequiredDescription
Column MapObject ArrayNoList of columns to fill and the fill type to use for each column.
ColumnPrevious Data ColumnYes, per mappingColumn whose empty values should be filled.
FillTypeDropdownYes, per mappingFill strategy. Options: PreviousValue, NextValue, Mean, Median, Mode.

Conditional Field Rendering Rules

No conditional configuration fields are defined for this activity.


Sample Input

IdAgeSalaryDepartment
12550000Sales
252000
330Finance
455000

Sample Configuration

ColumnFillType
AgeMean
SalaryMean
DepartmentPreviousValue

Sample Output

IdAgeSalaryDepartment
12550000Sales
227.552000Sales
33052333.33Finance
427.555000Finance