Table.PromoteHeaders

Syntax

Table.PromoteHeaders(table as table, optional options as nullable record) as table

Description

Promotes the first row of values as the new column headers (i.e. column names). By default, only text or number values are promoted to headers. Valid options:

Reference Data

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

Power Query M Functions / Table Functions / Table.PromoteHeaders