List.Range

 

This topic applies to the Power Query Formula Language which can be used with Power Query and Power BI Desktop to build queries that mashup data. See the list of function categories.

Returns a count items starting at an offset.

List.Range(list as list, offset as number, optional count as number) as list  

ArgumentDescription
listThe List to check.
offsetThe index to start at.
optional countCount of items to return.
List.Range({1..10}, 3, 5)  equals  {4, 5, 6, 7, 8}  

Show: