Table.Repeat

Syntaxe

Table.Repeat(table as table, count as number) as table  

À propos

Retourne une table avec les lignes de l’entrée table, répétées le nombre de fois spécifié, count.

Exemple 1

Répétez deux fois les lignes de la table.

Utilisation

Table.Repeat(
    Table.FromRecords({
        [a = 1, b = "hello"],
        [a = 3, b = "world"]
    }),
    2
)

Sortie

Table.FromRecords({
    [a = 1, b = "hello"],
    [a = 3, b = "world"],
    [a = 1, b = "hello"],
    [a = 3, b = "world"]
})