Report question

Question: Is it better to filter a resultset using a WHERE clause or using application code?