Table.Repeat
Tabulas rindas tiek atkārtotas norādīto reižu skaitu.
Syntax
Table.Repeat(
table as table,
count as number
) as table
Remarks
Tiek atgriezta tabula ar rindām no ievades table, kas atkārtotas norādītās count reizes.
Examples
Example #1
Atkārtojiet tabulā rindas divas reizes.
Table.Repeat(
Table.FromRecords({
[a = 1, b = "hello"],
[a = 3, b = "world"]
}),
2
)
Result:
Table.FromRecords({
[a = 1, b = "hello"],
[a = 3, b = "world"],
[a = 1, b = "hello"],
[a = 3, b = "world"]
})
Category
Table.Row operations