Table.PrefixColumns

About

Returns a table where the columns have all been prefixed with a text value.

Syntax

Table.PrefixColumns(table as table, prefix as text) as table  

Arguments

Argument Description
table The Table to modify.
prefix The prefix to add to every text value.

Example

Table.PrefixColumns(Table.FromRecords(  

{  

    [CustomerID = 1, Name = "Bob", Phone = "123-4567"]  

}  

), "MyTable")  
MyTable.CustomerID MyTable.Name MyTable.Phone
1 Bob 123-4567