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

Table.MatchesAnyRows

MTabela

Indica se alguma das linhas de table atende à condição condition. Retorna true se alguma atender e false caso contrário.

Sintaxe

M
Table.MatchesAnyRows(table as table, condition as function) as logical

Parâmetros

tabletableObrigatório

Tabela de entrada.

M
Table.FromRecords({[a = 1, b = 4], [a = 3, b = 8]})
conditionfunctionObrigatório

Condição testada em cada linha.

M
each Number.Mod([a], 2) = 0

Retorna

logical

Exemplo

M
Table.MatchesAnyRows(
    Table.FromRecords({
        [a = 1, b = 4],
        [a = 3, b = 8]
    }),
    each Number.Mod([a], 2) = 0
)

Resultado

M
false

Mais informações

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