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.Range

Table.Range

MTabela

Retorna as linhas de table a partir da posição offset. O parâmetro opcional count indica quantas linhas retornar; por padrão, retorna todas as linhas após o deslocamento.

Sintaxe

M
Table.Range(table as table, offset as number, optional count as nullable number) as table

Parâmetros

tabletableObrigatório

Tabela de origem.

M
Table.FromRecords({[CustomerID = 1, Name = "Bob", Phone = "123-4567"], ...})
offsetnumberObrigatório

Posição (base zero) da primeira linha a retornar.

M
1
countnullable numberOpcional

Quantidade de linhas a retornar; por padrão, todas após o deslocamento.

Retorna

table

Exemplo

M
Table.Range(
    Table.FromRecords({
        [CustomerID = 1, Name = "Bob", Phone = "123-4567"],
        [CustomerID = 2, Name = "Jim", Phone = "987-6543"],
        [CustomerID = 3, Name = "Paul", Phone = "543-7890"],
        [CustomerID = 4, Name = "Ringo", Phone = "232-1550"]
    }),
    1
)

Resultado

M
Table.FromRecords({
    [CustomerID = 2, Name = "Jim", Phone = "987-6543"],
    [CustomerID = 3, Name = "Paul", Phone = "543-7890"],
    [CustomerID = 4, Name = "Ringo", Phone = "232-1550"]
})

Mais informações

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