Table.PrefixColumns
Returnează un tabel în care toate coloanele au ca prefix textul dat.
Syntax
Table.PrefixColumns(
table as table,
prefix as text
) as table
Remarks
Returnează un tabel în care toate numele coloanelor din table furnizate au ca prefix textul dat, prefix, plus un punct în forma prefix.ColumnName.
Examples
Example #1
Introduceți prefixul „MyTable” pentru coloanele din tabel.
Table.PrefixColumns(
Table.FromRecords({[CustomerID = 1, Name = "Bob", Phone = "123-4567"]}),
"MyTable"
)
Result:
Table.FromRecords({[MyTable.CustomerID = 1, MyTable.Name = "Bob", MyTable.Phone = "123-4567"]})
Category
Table.Column operations