List.FirstN
Returns the first set of items in the list by specifying how many items to return or a qualifying condition.
function (list
as list, optionalcountOrCondition
as nullable any) as nullable any
List.Selection
Find the intial values in the list {3, 4, 5, -1, 7, 8, 2} that are greater than 0.
List.FirstN({3, 4, 5, -1, 7, 8, 2},each _ > 0)
{3, 4, 5}
Last modified 4yr ago