Skip to content

Pivot node ​

Turns rows into columns, or columns into rows.

Group in the palettePreparation
Where it appearsModeling and Analysis

Inputs ​

PortWhat connects
tableThe table to reorganize.

Outputs ​

PortWhat connects
tableThe reorganized table.

What to configure ​

OptionWhat for
Rows into columnsChoose the field whose values become columns and, under Dimensions kept, the fields that stay as rows, for example customer and product.
New columnsOptional: the fixed list of columns. With it, the following nodes already see the columns.
Columns into rowsChoose the columns that become rows and the names of the new columns.

Things to keep in mind ​

  • With no dimension selected, all the other columns stay as rows.
  • Without the list of new columns, every value that exists at run time becomes a column, and that can change with each load.
  • To combine columns of different types, select the conversion to text.

See also ​

LumeDB © Keon Analytics