Syntax
Record.ToTable(record as record) as table
About
返回一个表,其中包含列 Name ,其中 Value 每一个字段 record都有一行。
示例 1
从记录返回表。
用法
Record.ToTable([OrderID = 1, CustomerID = 1, Item = "Fishing rod", Price = 100.0])
输出
Table.FromRecords({
[Name = "OrderID", Value = 1],
[Name = "CustomerID", Value = 1],
[Name = "Item", Value = "Fishing rod"],
[Name = "Price", Value = 100]
})