Return the 95th percentile 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 outliers = list.the95thPercentile();

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

}
Did this answer your question?