Table.Repeat

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

从输入 table 返回一个表,其中的列重复了指定的 count 次。

示例:

对表中的行重复两次。

使用情况:

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"
    ]
}, {
    "a",
    "b"
})

results matching ""

    No results matching ""