Filter historical data