Comment on page
MAX_BY
Gets the value that corresponds to the maximum value of a different field in the time window.
MAX_BY(VALUE, SORT)
Type: any
The field to return.
Type:
numeric
The field to sort by.
Type: any
Returns the
VALUE
that corresponds to the maximum SORT
value.If the maximum value is not unique, the first
VALUE
in the set will be returned.Last modified 1yr ago