Type.RecordFields
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 a record describing the fields of a record type with each field of the returned record type having a corresponding name and a value that is a record of the form [ Type = type, Opional = logical ].
Type.RecordFields(#"type" as type) as record
Type.RecordFields(type [ A = number, optional B = any]) equals [ A = [Type = number, Optional = false], B = [Type = any, Optional = true] ]
Show: