Returns a new FactList filtered that includes only those facts from the original that are on the specified Date. All Dates are defined as relative from the now parameter which provides a number of methods for expressing dates relative to the date of the KPI calculation.

//filter out data not from day before the KPI calculation
var filtered = kpis.get('issue count').filter(now.yesterday());

//filter out data not from the date of the KPI calculation
var filtered = kpis.get('issue count').filter(now);

//filter out data not from three days prior to the calculation date
var filtered = now.minus(3, 'days');
Did this answer your question?