There is no solution for this out of the box. But you could use a variety of extensions you can find on Qlik Branch. For example, this extension Qlik Branch - take a look. You can create your own widget in dev hub too.
Or, in case you don't want to set up some external components, you can make a table with possible values in script and use it as a filter field