ROWNUMBER

Applies to: Calculated column Calculated table Measure Visual calculation

Returns the unique ranking for the current context within the specified partition, sorted by the specified order. If a match cannot be found then then rownumber is blank.

Syntax

ROWNUMBER ( [ or ][, ][, ][, ][, ][, ] ) 

Parameters

Return value

The rownumber number for the current context.

Remarks

Each , , and column must have a corresponding outer value to help define the current row on which to operate, with the following behavior: