Record.FieldCount

This function retrieves the count of fields in the specified record.

Syntax

Record.FieldCount(record as record) as number

About

This function retrieves the count of fields in the specified record.

Explanation

Determine the total number of fields present in the record by using the Power Query MRecord.FieldCount function with the specified criteria [CustomerID = 1, Name = "Bob"]. The output will be 2 fields.