Syntax
Table.DemoteHeaders(table as table) as table
Description
Demotes the column headers (i.e. column names) to the first row of values. The default column names are “Column1”, “Column2” and so on.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference