displays dashboard stats according to reference timeframe