Record.RemoveFields

Syntax

Record.RemoveFields(record as record, fields as any, optional missingField as nullable number) as record

Description

Returns a record that removes all the fields specified in list fields from the input record. If the field specified does not exist, an exception is thrown.

Reference Data

https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference

Power Query M Functions / Record Functions / Record.RemoveFields