Table.SelectRowsWithErrors

The function retrieves a table consisting of rows from the original table that have at least one erroneous cell. If a list of columns is provided, only the cells in those specified columns will be che...

Syntax

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

About

The function retrieves a table consisting of rows from the original table that have at least one erroneous cell. If a list of columns is provided, only the cells in those specified columns will be checked for errors.

Explanation

Identify customers whose rows contain errors by selecting their names. Code: ```Power Query MTable.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] ``` Output: ``` {"Bob"} ```