Power QueryExercises

Keep orders whose lines include a gift item (marketplace)

Without flattening, keep the JSON orders where any line's sku starts with GIFT, with the customer name.

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

About this exercise

What you'll practise

Filter rows on a condition over a nested list.

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 (text)