Table of contents
TOC
Collapse the table of content
Expand the table of content

Table.PrefixColumns

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

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

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

Arguments

ArgumentDescription
tableThe Table to modify.
prefixThe prefix to add to every text value.

Example

Table.PrefixColumns(Table.FromRecords(  
  
{  
  
    [CustomerID = 1, Name = "Bob", Phone = "123-4567"]  
  
}  
  
), "MyTable")  
MyTable.CustomerIDMyTable.NameMyTable.Phone
1Bob123-4567
© 2018 Microsoft