Record.FieldCount

 

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

Returns the number of fields in a record.

Record.FieldCount(record as record) as number  

ArgumentDescription
recordThe Record to check against.
Record.FieldCount([A=1, B=2]) equals 2  

Show: