Sublists with a specific length for all combinations in a list

Hello everybody,

I have a list with items with a variable length and I’m trying to get sublists with every possible combination of items within it. The important thing here is, that the sublist have to have a fixed length of 3 indices. So I need all possible combinations of those 3.

How can I get this working?

Thanks for the help in advance

there is two nodes you can use, List.Permutation & List.Combinations , you need just to add the length of sublist desired



1 Like

Oh, didn’t expect it to be that easy.

Thank you, List.Combinations was exactly what I was looking for.