Hi guys,
ClearCollect(30seconds, FirstN(Sort(BrowseGallery1.AllItems, 'Sum of Value', SortOrder.Descending),1));
Trying to collect the largest sum of value by sorting descending and collecting firstN limited to 1. Something is amiss. Help appreciated.
{Update: Fixed - Syntax for collection}
ClearCollect(Col30seconds, FirstN(Sort(BrowseGallery1.AllItems, 'Sum of Value', SortOrder.Descending),1));
Many thanks