Power QueryExercises

Filter orders to a date window from a parameter table (bakery)

A one-row Settings table holds StartDate and EndDate. Keep orders inside that window, both ends included.

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

About this exercise

What you'll practise

Filter with values read from another query instead of typed constants.

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

  • Orders (table)
    • OrderID: text
    • Customer: text
    • Region: text
    • Product: text
    • Qty: number
    • UnitPrice: number
    • OrderDate: text
    • Status: text
  • Settings (table)
    • StartDate: date
    • EndDate: date

Expected output columns

OrderID (text), Customer (text), Region (text), Product (text), Qty (number), UnitPrice (number), OrderDate (date), Status (text)