Power QueryExercises

Classify quantities as OK, Missing, Invalid or Negative (pantry)

Give every stock count a validation status so the warehouse knows which rows to recount.

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

About this exercise

What you'll practise

Combine null checks, try and numeric rules in one ordered conditional.

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

  • Counts (table)
    • ID: text
    • Qty: text (nullable)

Expected output columns

ID (text), Qty (text (some rows null)), Status (text)