Debug a query that works today and breaks on refresh (retail)
The starter passes on this month's sheet but fails next month: it removes a column that may vanish and unpivots a fixed month list.
- Level
- advanced
- Time
- ~14 min
- Task
- Fix a broken query
- Access
- Pro
Checking your access…
About this exercise
What you'll practise
Find refresh-fragile steps and make them robust without changing today's result.
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
- Targets (table)
- Store: text
- Promo: text
- Jan: number
- Feb: number
- Mar: number
Expected output columns
Store (text), Month (text), Target (number)