Power Query
published
Search
K
Comment on page

Record.FieldCount

Record.FieldCount

Returns the number of fields in the record.
function (record as record) as number

Description

Returns the number of fields in the record record.

Category

Record.Information

Examples

Find the number of fields in the record.
Record.FieldCount([CustomerID = 1, Name = "Bob"])
2