Training
Module
Create formulas that use tables, records, and collections in a canvas app in Power Apps - Training
Do you have need for complex formulas in your app? This module can help you write those formulas.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Table.MatchesAnyRows(table as table, condition as function) as logical
Indicates whether any the rows in the table
match the given condition
. Returns true
if any of the rows match, false
otherwise.
Determine whether any of the row values in column [a] are even in the table ({[a = 2, b = 4], [a = 6, b = 8]})
.
Usage
Table.MatchesAnyRows(
Table.FromRecords({
[a = 1, b = 4],
[a = 3, b = 8]
}),
each Number.Mod([a], 2) = 0
)
Output
false
Determine whether any of the row values are [a = 1, b = 2], in the table ({[a = 1, b = 2], [a = 3, b = 4]})
.
Usage
Table.MatchesAnyRows(
Table.FromRecords({
[a = 1, b = 2],
[a = -3, b = 4]
}),
each _ = [a = 1, b = 2]
)
Output
true
Training
Module
Create formulas that use tables, records, and collections in a canvas app in Power Apps - Training
Do you have need for complex formulas in your app? This module can help you write those formulas.
Documentation
Table.MatchesAllRows - PowerQuery M
Learn more about: Table.MatchesAllRows
Learn more about: Table.FindText
Table.FilterWithDataTable - PowerQuery M
Learn more about: Table.FilterWithDataTable