Return highest number in collection

Hello,

I’m trying to return the highest “Nr” from a Data Store collection, I tried “toArray”, “flatten”, “Map” and “Get” functions but I can’t get the right combination.

This is an example of collection (output from my “Array aggregator”)
image

Thanks
David

Hello @Davidof90 nice to meet you.

You can be more specific with how do you want to use all the data in the next step? Because if you only want the biggest number, you can use Numeric Aggregator module and set as Aggregate function Maximum value(MAX)
image

If you need additional support, please don’t hesitate to reach out.
//VLAD

1 Like