Power QueryExercises

Unpivot month columns into rows (hardware)

Turn one column per month into Month and Units rows, in a way that picks up new months automatically.

Level
intermediate
Time
~8 min
Task
Build the query
Access
Pro
Checking your access…

About this exercise

What you'll practise

Reshape wide data to long with Unpivot Other Columns so new columns are handled on refresh.

The scenario, sample data, step list, hints and solution open with Pro. Grading checks your query against hidden data as well as the visible sample, so a query that only fits the sample doesn't pass.

Input

  • Sheet (table)
    • Item: text
    • Jan: number
    • Feb: number
    • Mar: number

Expected output columns

Item (text), Month (text), Units (number)