Syntax
Table.Repeat(table as table, count as number) as table
About
返回一个表,其中输入中的 table 行重复了指定的 count 时间。
示例 1
重复表中的两次行。
用法
Table.Repeat(
Table.FromRecords({
[a = 1, b = "hello"],
[a = 3, b = "world"]
}),
2
)
输出
Table.FromRecords({
[a = 1, b = "hello"],
[a = 3, b = "world"],
[a = 1, b = "hello"],
[a = 3, b = "world"]
})