Forum Discussion
LukeReds
Helper II
2 years agoHow to extract elemens from a list using List.Alternate
Hi to everyone,
i have this list, numbers from 1 to 12 {1..12},
for extracting 1,4,7,10 i use = List.Alternate(Source,2,1,1)
for extracting 3,6,9,12 i use = List.Alternate(Source,2,1,0)
How can i extract 2,5,8,11?
Thank you!
= pls try this code
= List.Alternate(List.Range({1..12},1),2,1,1)
6 Replies
- Ahmedx
Super User
= pls try this code
= List.Alternate(List.Range({1..12},1),2,1,1)- LukeReds
Helper II
thank you!
- dufoq3
Community Champion
- dufoq3
Community Champion
I'm not sure what are you talking about. There is also screenshot with correct result...
- LukeReds
Helper II
ts correct i was searching a way for using onlyList.Alternate, but its not possible