Table.ContainsAny
This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.
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
| Argument | Description |
|---|---|
| table | The Table to check. |
| rows | The List of rows to check for. |
| optional equationCriteria | An optional value that specifies how to control comparison between the rows of the table. |
- Table.ContainsAny is similar to List.ContainsAny but requires a table as input.
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
Show: