Creating custom filter using report query