How to apply filters in dashboard views