Filtering a dataset

So in short.
Collapse repeater in property panel.
Filter first
Then use the code for the dataset onready
In the codeblock of dataset onready expand the repeater.