Record.ToTable

 

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 table of records containing field names and values from an input record.

Record.ToTable(record as record) as table  

ArgumentDescription
recordThe Record to convert.
  • The type of the return value of this function is {[Name = text, Value = any ]}.
Record.ToTable([OrderID = 1, CustomerID = 1, Item = "Fishing rod", Price = 100.0] )  
  
equals  

OrderID1
CustomerID1
ItemFishing rod
Price100
Show: