Record.ToTable
Record.ToTable(record as record) as table
Returnerer en tabel, der indeholder kolonnerne Name
og Value
med en række for hvert felt i record
.
Returner tabellen fra posten.
brug
Record.ToTable([OrderID = 1, CustomerID = 1, Item = "Fishing rod", Price = 100.0])
output
Table.FromRecords({
[Name = "OrderID", Value = 1],
[Name = "CustomerID", Value = 1],
[Name = "Item", Value = "Fishing rod"],
[Name = "Price", Value = 100]
})