Longest line from sublist


It must be simple, but how,

I need to get the longest line of every sub list ( there will be 1000 and more sub lists):

Element Parameter “Länge” is the Lenght of the Curve


Something like this?


That gives the Maximum Value, but I need to filter the longest Curves


Maybe a stupid question, but wouldn’t the longest “length” of a curve be the longest curve? (Thus using List.MaximumItem)


You can try something like this as well.


Yes, but whitch line of the first sublist is the longest one ( the index)? And whitch line of the second list is the longest one in the second sublist? ( the index?)


With @Jonathan.Olesen method use IndexOf



As Steven says:


Thank you Jonathan and Steven, it works: