Transform

Pivot

Turns a long list into a summary grid: one column supplies the row labels, another supplies the column headers, and a numeric column fills the cells. When several rows land in the same cell, they are combined with the aggregation you choose, the same crosstab a spreadsheet pivot table builds.

Inputs

InputAcceptsRequired
TableTableYes

Outputs

OutputProduces
ResultTable

Settings

Typed in on the node or set by the assistant, not wired.

SettingDefaultNotes
RowFieldChoose a column from the connected table. Column whose distinct values become the row labels of the result (e.g. LineItem). Required.
ColFieldChoose a column from the connected table. Column whose distinct values become the new column headers (e.g. Year or Month). Required.
ValueFieldChoose a column from the connected table. Numeric column whose values fill the cells. Required.
AggFunctionSumHow to combine multiple values landing in the same cell. One of Sum, Avg, Count, Min, Max. Default Sum.

Example

Your Expenses table is a long list with Department, Month, and Amount. Set RowField to Department, ColField to Month, and ValueField to Amount. The result is one row per department with a column for each month: a 12-column spending grid that appears as its own tab. Cells with no matching rows show 0.

Tips

Related nodes