Inkwell Data / Unpivot columns to rows
Unpivot: turn columns into rows
A report with a column for every month is easy to read and hard to work with. Unpivot turns Jan, Feb, Mar… into two columns, Month and Value, with one row each, which is what pivot tables, charts, SQL and Power BI want.
- Add your file
- Tick the columns to turn into rows
- Download the long table
Prefer to click on your data instead of picking steps from a list? Try the Workbench: same steps, same recipes.
New to Transform?
Each step makes one change to your file, and the list of steps becomes a recipe you can run again next month.
How it works
- Add your file. The unpivot step opens with the number columns already ticked.
- Check the ticked columns (the ones to turn into rows) and name the two new columns, like Month and Sales.
- Click Add step, look at the preview and download. Save it as a recipe to do the same next month in one click.
Columns you don’t tick (like Region or Product) are repeated on every new row. Tick “Skip blanks” to leave out empty cells.
Questions
Are my files uploaded anywhere?
No. Your file is read by your own browser and processed on your device.
What’s the difference between wide and long data?
Wide data has a column per month or year. Long data has one row per item per month, with the month in its own column. Charts, pivot tables and databases work best with long data.
Is this the same as Power Query’s Unpivot Columns?
Yes, it does the same job, without opening Excel or Power BI.
Can I go the other way?
Yes. Summarize & pivot spreads rows back out into a column per value.