Table.DemoteHeaders

 

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

Demotes the header row down into the first row of a table.

Table.DemoteHeaders(table as table) as table  

ArgumentDescription
tableThe Table to modify.
Table.DemoteHeaders(Table.FromRecords(  
  
{  
  
    [CustomerID=1, Name="Bob", Phone = "123-4567" ]  
  
}  
  
))  

Column1Column2Column3
CustomerIDNamePhone
1Bob123-4567
Show: