OpenBI Docs Buy

Record.ToList

A record's values as a list, without the field names.

Group: Record. Power Query M has it too: a query that uses it is written as in Power BI.

Syntax

Record.ToList(record as record) as list
ParameterTypeDescription
recordrecordThe record to turn into a list.

Returns

list. The values in the record's order.

Remarks

Examples

An order as a list

Record.ToList([Order = 1001, Shop = "Oslo", Total = 120])
{1001, "Oslo", 120}

Summing the amounts of a record

List.Sum(Record.ToList([Jan = 120, Feb = 90, Mar = 150]))
360

Record.FieldValues, Record.FromList, Record.ToTable.

Last updated · OpenBI Studio 0.3.79