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
| Argument | Description |
|---|---|
| list | The List to check. |
| offset | The index to start at. |
| optional count | Count of items to return. |
List.Range({1..10}, 3, 5) equals {4, 5, 6, 7, 8}
Show: