Columns to rows
Wildcard pivot
Instead of naming each column, give a pattern — 2024_* or *_revenue. Any column matching it is pivoted, including ones that do not exist yet.
So when next month's file arrives with a new 2024_07 column, the flow picks it up with no edit. Without this, someone has to open the flow every month.
Rows to columns
The reverse direction turns values into column headers — one row per customer with a column per product category, for instance.
You choose the field supplying the column names and the field supplying the values, plus an aggregation for when several rows land in one cell.
Use it sparingly. It is right for a final presentation layer, and wrong for anything Tableau will analyse, since it produces one measure per value.
Which direction
| Situation | Direction |
|---|---|
| Spreadsheet with a column per period | Columns to rows |
| Preparing anything for Tableau analysis | Columns to rows |
| Final output someone reads as a table | Rows to columns |