Record.ToTable
Syntax
Record.ToTable(record as record) as table
Informácie
Vráti tabuľku obsahujúcu stĺpce Name
a Value
s riadkom pre každé pole v record
.
Príklad č. 1
Vráťte tabuľku zo záznamu.
Použitie
Record.ToTable([OrderID = 1, CustomerID = 1, Item = "Fishing rod", Price = 100.0])
Výkon
Table.FromRecords({
[Name = "OrderID", Value = 1],
[Name = "CustomerID", Value = 1],
[Name = "Item", Value = "Fishing rod"],
[Name = "Price", Value = 100]
})