Table of contents
TOC
Collapse the table of content
Expand the table of content

Table.ContainsAny

Owen Duncan|Last Updated: 10/5/2018
|
1 Contributor

About

Determines whether any of the specified records appear as rows in the table.

Table.ContainsAny(table as table, rows as list, optional equationCriteria as any) as logical  

Arguments

ArgumentDescription
tableThe Table to check.
rowsThe List of rows to check for.
optional equationCriteriaAn optional value that specifies how to control comparison between the rows of the table.

Remarks

  • Table.ContainsAny is similar to List.ContainsAny but requires a table as input.

Example

Table.ContainsAny(  
  
    Table.FromRecords( {[A=1, B=2],[A=2, B=3],[A=3, B=4]}),  
  
    {[A=1, B=2],[A=2, B=4]},  
  
    {"A", "B"}) equals true  
© 2018 Microsoft