Table.Repeat
Mengulang baris tabel dengan frekuensi tertentu.
Syntax
Table.Repeat(
table as table,
count as number
) as table
Remarks
Menghasilkan tabel dengan baris dari input table yang diulang count kali sebagaimana ditetapkan.
Examples
Example #1
Mengulang baris dalam tabel dua kali.
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