Returns the largest numeric value of all metric or KPI Facts in the FactList, ignoring null or NaN values.  If no facts are in the list or all the facts have null or NaN values then return the default value passed to the function or NaN if a default value is not supplied.

// returns a FactList
var list = metrics.get('support response time');

// if list is empty NaN is returned
var max = list.maximum();

if (!isNaN(max)){
    return max;

Did this answer your question?