Record
A set of named fields, written [Name = "Ana", Age = 31]. A table row is a record, and JSON objects become records.
Fields are read with [Field] and optional fields with [Field]?, which returns null instead of an error when the field is missing. Records can be combined with &, and Record.FieldNames lists their fields. Nested JSON objects arrive as record columns that you expand.
In the Power Query editor
A record column shows the word Record in each cell; the expand icon in its header turns fields into columns.
Learn more
Practise it
- intermediate~9 minPro
Build a one-row summary table in M (kite shop)
Write a let expression that computes order count, total quantity and the largest unit price, returned as a one-row table.
- intermediate~9 minPro
Build a calendar from the first to the last order date (kite shop)
Create a table with one row for every day from the earliest to the latest order date, including days with no orders.
- beginner~6 minPro
Turn a settings object into a Name/Value table (report config)
A JSON settings file is a single object. List its settings as rows with Name and Value columns.
- intermediate~7 minPro
Find customers who ordered in January but not in February (kite shop)
Compare the customer lists of two months and return the customers who didn't come back.