Power QueryExercises

Remove rows whose quantity isn't a number (bakery)

Typing Qty as a whole number turns placeholders like n/a into errors. Remove those rows.

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

About this exercise

What you'll practise

See how type conversion creates cell errors, and remove rows with errors in a specific column.

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

  • OrderFile (file)
    • Text file; first line: OrderID,Customer,Qty,UnitPrice
    • Every field is text until you set types

Expected output columns

OrderID (text), Customer (text), Qty (number), UnitPrice (number)