filter trends data by start and end range