Unpivoting — wide to long
Pivoting — long to wide
The Pivoting node has three tabs: Groups (rows), Pivots (the column whose values become headers), and Aggregation (what fills the cells).
It aggregates by necessity, since several rows can land in one cell.
It produces two outputs: the pivot table itself, and a totals table.
Generated column names
Pivoting builds headers from data values, combined with the aggregation name — East+Sum(Revenue).
So the output schema changes when the data changes. A new region appearing next month adds a column, and any downstream node referencing a fixed list of columns breaks.
Where the workflow must survive that, use type- or pattern-based selection downstream rather than naming columns explicitly.
Which direction
Unpivot before analysis. Pivot at the end for presentation. A workflow that unpivots, aggregates, then pivots into a report layout is a common and readable shape.