max
To return the highest or latest value of an array
Use this function to find the highest value or the latest value in an array.
The function works only with an array of numbers or time-related values.
Syntax
max([any])
max([number])
max([timestamp])
Return
any
Examples
max([number)]
To return the highest number of a number array.
Result: 35
max([date])
To return the latest timestamp of a timestamp array.
Result: The last birthday of a year (for example of an employee)
See also
min
, which returns the lowest or earliest value of an array.
Do you want to dive deeper into the topic? Take a look at the corresponding part of our video tutorial.
Last updated