Power QueryExercises

Find stock held in warehouse B and running low (pharmacy)

Keep rows in warehouse WH-B where OnHand is below the reorder level.

Level
beginner
Time
~6 min
Task
Build the query
Access
Pro
Checking your access…

About this exercise

What you'll practise

Combine a text condition with a comparison between two columns.

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

  • Stock (table)
    • SKU: text
    • Item: text
    • Warehouse: text
    • OnHand: number
    • ReorderLevel: number
    • Supplier: text
    • UnitCost: number

Expected output columns

SKU (text), Item (text), Warehouse (text), OnHand (number), ReorderLevel (number), Supplier (text), UnitCost (number)