Træning
Modul
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.
Denne browser understøttes ikke længere.
Opgrader til Microsoft Edge for at drage fordel af de nyeste funktioner, sikkerhedsopdateringer og teknisk support.
Table.MatchesAnyRows(table as table, condition as function) as logical
Angiver, om nogen af rækkerne i table
stemmer overens med den angivne condition
. Returnerer true
, hvis nogen af rækkerne stemmer overens, false
ellers.
Find ud af, om nogen af rækkeværdierne i kolonnen [a] er lige i tabellen ({[a = 2, b = 4], [a = 6, b = 8]})
.
brug
Table.MatchesAnyRows(
Table.FromRecords({
[a = 1, b = 4],
[a = 3, b = 8]
}),
each Number.Mod([a], 2) = 0
)
output
false
Find ud af, om nogen af rækkeværdierne er [a = 1, b = 2] i tabellen ({[a = 1, b = 2], [a = 3, b = 4]})
.
brug
Table.MatchesAnyRows(
Table.FromRecords({
[a = 1, b = 2],
[a = -3, b = 4]
}),
each _ = [a = 1, b = 2]
)
output
true
Træning
Modul
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.
Dokumentation
Table.MatchesAllRows - PowerQuery M
Learn more about: Table.MatchesAllRows
Learn more about: Table.FindText
Table.FilterWithDataTable - PowerQuery M
Learn more about: Table.FilterWithDataTable