List.Alternate

Syntax

List.Alternate(list as list, count as number, optional repeatInterval as nullable number, optional offset as nullable number) as list

Description

Returns a list comprised of all the odd numbered offset elements in a list. Alternates between taking and skipping values from the list list depending on the parameters.

Reference Data

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

Power Query M Functions / List Functions / List.Alternate