Table.Repeat

语法

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

关于

返回一个表,表中的行来自输入 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"] })

results matching ""

    No results matching ""