Search code examples
powerbim

Enumerate non-1 step in Power M List


I know there is enumeration in list of Power M for {1, 2, 3, ... 10} can be achieved by

{1..25}

What about {0, 25, 50, ... 250} how can i enumerate every 25?


Solution

  • You can go with:

    List.Generate(() => 0, each _ > 250, each _ +25)