Table.PositionOf

Syntax

Table.PositionOf(table as table, row as record, optional occurrence as any, optional equationCriteria as any) as any

Description

Returns the row position of the first occurrence of the row in the table specified. Returns -1 if no occurrence is found.

Reference Data

https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference

Power Query M Functions / Table Functions / Table.PositionOf