Returns the first Fact, chronologically, from a metric or KPI FactList. If there are no Facts in the list or all of the Facts contain null or NaN values return a MissingFact which has no data and not breakdown. The MissingFact is a special case of a Fact object that can be useful to simplify defensive coding checks.
// get the earliest
var latest = metrics.get('critical issues').getEarliest();
// return the value and the breakdown
return latest;