Record.ToTable
Record.ToTable(record as record) as table
Devuelve una tabla que contiene las columnas Name
y Value
con una fila por cada campo de record
.
Devolver la tabla del registro.
Uso
Record.ToTable([OrderID = 1, CustomerID = 1, Item = "Fishing rod", Price = 100.0])
Salida
Table.FromRecords({
[Name = "OrderID", Value = 1],
[Name = "CustomerID", Value = 1],
[Name = "Item", Value = "Fishing rod"],
[Name = "Price", Value = 100]
})