keep_errors
Retain only rows that contain errors in Power Query tables, optionally for selected columns. Enables inspection and correction of bad data.
Instructions
Power Query Keep Errors: keep ONLY rows that carry an error value (to inspect bad data). Appends Table.SelectRowsWithErrors to the table's M query. Pass columns (comma-separated) to test only those columns; omit for the whole row.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>",
"table": "<table>"
},
"name": "keep_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| columns | No | columns to test for errors, comma-separated (omit for whole row) | |
| sessionId | Yes | ||
| partitionName | No | partition name (optional; defaults to the first partition) |