Record.RenameFields

Syntax

Record.RenameFields(record as record, renames as list, optional missingField as nullable number) as record

Description

Returns a record after renaming fields in the input record to the new field names specified in list renames. For multiple renames, a nested list can be used ({ {old1, new1}, {old2, new2} }.

Reference Data

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

Power Query M Functions / Record Functions / Record.RenameFields