Power QueryExercises

Combine files when newer ones gain a column (kites)

From March the export added a Discount column. Combine every file and keep Discount, null for older files.

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

About this exercise

What you'll practise

Combine files without hard-coding the first file's 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

  • OrdersFolder (folder)
    • Columns: Content (binary), Name, Extension, Date modified, Folder Path
    • File orders-2026-01.csv
    • File orders-2026-02.csv

Expected output columns

Source.Name (text), OrderID (text), Customer (text), Qty (number), Discount (number (some rows null))