Pular para o conteúdo
officetuning.aiofficetuning.ai
TreinamentosConsultoriaBibliotecaFerramentasConteúdoPortfólio
Entrar
officetuning.aiofficetuning.ai

Treinamento, consultoria e mentoria para decidir, construir e aprender nas quatro frentes da marca.

AI · Data · Productivity · Dev · São Paulo
contato@officetuning.ai
TreinamentosPower BIExcelSQLPowerPointIA + ProdutividadeTodos os treinamentos
PortalConsultoriaBibliotecaPortfólioBackground BuilderDashboard CanvasConteúdo
InstitucionalPolítica de privacidadeInformações legais
© 2026 officetuning.ai · São Paulo
  1. Biblioteca
  2. Power Query (M)
  3. Funções M
  4. Table.Transpose

Table.Transpose

MTabela

Transforma colunas em linhas e linhas em colunas.

Sintaxe

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

Parâmetros

tabletableObrigatório

Tabela a transpor.

M
Table.FromRecords({[Name = "Full Name", Value = "Fred"], ...})
columnsanyOpcional

Colunas opcionais da operação (o Learn não detalha este parâmetro).

Retorna

table

Exemplo

M
Table.Transpose(
    Table.FromRecords({
        [Name = "Full Name", Value = "Fred"],
        [Name = "Age", Value = 42],
        [Name = "Country", Value = "UK"]
    })
)

Resultado

M
Table.FromRecords({
    [Column1 = "Full Name", Column2 = "Age", Column3 = "Country"],
    [Column1 = "Fred", Column2 = 42, Column3 = "UK"]
})

Mais informações

Subgrupo
Table
Referência
https://learn.microsoft.com/pt-br/powerquery-m/table-transpose
Função anteriorTable.TransformRowsPróxima função Table.Unpivot
Biblioteca