Table.TransposeTable.Transpose

SintaxeSyntax

Table.Transpose(table as table, optional columns as any) as table

SobreAbout

Transforma colunas em linhas e linhas em colunas.Makes columns into rows and rows into columns.

Exemplo 1Example 1

Transforme as linhas da tabela de pares de nome/valor em colunas.Make the rows of the table of name-value pairs into columns.

Table.Transpose(
    Table.FromRecords({
        [Name = "Full Name", Value = "Fred"],
        [Name = "Age", Value = 42],
        [Name = "Country", Value = "UK"]
    })
)
Coluna1Column1 Coluna2Column2 Column3Column3
Nome completoFull Name IdadeAge PaísCountry
FredFred 4242 REINO UNIDOUK