Skip to main content

Table.RemoveRowsWithErrors

Returns a table with the rows removed from the input table that contain an error in at least one of the cells. If a columns list is specified, then only the cells in the specified columns are inspected for errors.

Syntax

Table.RemoveRowsWithErrors(
table as table,
optional columns as list
) as table

Remarks

Returns a table with the rows removed from the input table that contain an error in at least one of the cells. If a columns list is specified, then only the cells in the specified columns are inspected for errors.

Examples

Example #1

Remove error value from first row.

Table.RemoveRowsWithErrors(
Table.FromRecords({
[Column1 = ...],
[Column1 = 2],
[Column1 = 3]
})
)

Result:

Table.FromRecords({
[Column1 = 2],
[Column1 = 3]
})

Category

Table.Row operations