Table.SelectRowsWithErrors

语法

Table.SelectRowsWithErrors(table as table, optional columns as nullable list) as table

关于

返回一个表,其中仅包含输入表中至少一个单元格中包含错误的那些行。 如果指定了列列表,则仅检查指定列中的单元格是否存在错误。

示例 1

选择其行中有错误的客户名称。

使用情况

Table.SelectRowsWithErrors(    Table.FromRecords({         [CustomerID = ..., Name = "Bob", Phone = "123-4567"],        [CustomerID = 2, Name = "Jim", Phone = "987-6543"],        [CustomerID = 3, Name = "Paul", Phone = "543-7890"],        [CustomerID = 4, Name = "Ringo", Phone = "232-1550"]     }))[Name]

输出

{ "Bob" }

results matching ""

    No results matching ""