set query to whole dataset