List.Numbers
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 list of numbers from size count starting at initial, and adds an increment. The increment defaults to 1.
List.Numbers(start as number, count as number, optional increment as nullable number) as { Number }
| Argument | Description |
|---|---|
| start | The first number in the sequence. |
| count | How many numbers to return. |
| optional increment | The number to increment each number. |
List.Numbers(1, 5) equals {1, 2, 3, 4, 5}
List.Numbers(1, 8, 3) equals {1, 4, 7, 10, 13, 16, 19, 22}
Show: