List.PositionOf
Syntax
List.PositionOf(list as list, value as any, optional occurrence as nullable number, optional equationCriteria as any) as any
About
Returns the offset at which the value value
appears in the list list
. Returns -1 if the value doesn't appear. An optional occurrence parameter occurrence
can be specified.
occurrence
: The maximum number of occurrences to report.
Example 1
Find the position in the list {1, 2, 3} at which the value 3 appears.
Usage
List.PositionOf({1, 2, 3}, 3)
Output
2
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for