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...
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.
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"}
```