Predict which cells an unpivot will drop (timesheet)
Before unpivoting a sheet with blank (null) cells, list exactly the item–month cells that will disappear.
- Level
- advanced
- Time
- ~10 min
- Task
- Predict a step's result
- Access
- Pro
Checking your access…
About this exercise
What you'll practise
Know that unpivoting drops null values, and prove it with a query.
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 (nullable)
- Feb: number (nullable)
- Mar: number (nullable)
Expected output columns
Item (text), Month (text)