Table.RemoveMatchingRows

Table.RemoveMatchingRows(table as table, rows as list, optional equationCriteria as any) as table

table 中删除出现的所有指定 rows。 可以指定一个可选参数 equationCriteria,以控制表各行之间的比较。

示例:

从表 ({[a = 1, b = 2], [a = 3, b = 4], [a = 1, b = 6]}) 中删除其中具有 [a = 1] 的任何行。

使用情况:

Table.RemoveMatchingRows(Table.FromRecords({[a = 1, b = 2], [a = 3, b = 4], [a = 1, b = 6]}), {[a = 1]}, "a")

输出:
Table.FromRecords({[a = 3, b = 4]}, {
    "a",
    "b"
})

results matching ""

    No results matching ""