Power QueryExercises

Treat empty text and null the same (cafe)

Some suppliers are null and some are empty text. Standardise both to "Unknown".

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

About this exercise

What you'll practise

Tell null and empty text apart, and standardise them explicitly.

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)
    • Item: text
    • Supplier: text (nullable)

Expected output columns

Item (text), Supplier (text)