Power QueryExercises

Project: budget versus actual by department and month (charity)

Combine a wide budget sheet with a long list of actual spend to report Budget, Actual and Variance per department and month.

Level
advanced
Time
~18 min
Task
Build the query
Access
Pro
Checking your access…

About this exercise

What you'll practise

Reshape two differently shaped sources to the same grain, then merge and compare.

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

  • Budget (table)
    • Dept: text
    • Jan: number
    • Feb: number
  • Actuals (table)
    • Dept: text
    • Month: text
    • Amount: number

Expected output columns

Dept (text), Month (text), Budget (number), Actual (number), Variance (number)