RelativePosition.Type

Updated on

RelativePosition.Type indicates whether indexing should be done from the start or end of the input.

Enumeration Options

Enumerations simplify the process of selecting options within a function. To specify the RelativePosition.Type, users have the option to either input the below Argument description (which provides more information) or the shorter Value (which provides a more concise representation).

ArgumentValueDescription
RelativePosition.FromStart0Indicates indexing should be done from the start of the input.
RelativePosition.FromEnd1Indicates indexing should be done from the end of the input.

Applies to

Here’s a list of functions that work with RelativePosition.Type:

Contribute » | Contributors: Rick de Groot
Microsoft documentation: https://learn.microsoft.com/en-us/powerquery-m/relativeposition-type