Power QueryExercises

Expand a nested record whose field names clash with existing columns (webshop)

Orders have an id, and the nested customer object also has an id. Expand the customer without mixing them up.

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

About this exercise

What you'll practise

Give expanded columns new names so nested fields can't collide with existing 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

  • OrdersJson (file)
    • JSON document (parse with Json.Document)

Expected output columns

id (text), customer.id (text), customer.name (text)