Power QueryExercises

Build a one-line address that skips missing parts (suppliers)

Combine Line1, Line2, City and Postcode with ", " between them, leaving out Line2 when it's null.

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

About this exercise

What you'll practise

Combine text columns safely when some are null.

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

  • Customers (table)
    • ID: text
    • Line1: text
    • Line2: text (nullable)
    • City: text
    • Postcode: text

Expected output columns

ID (text), Address (text)