filter purchases by month, year