Dashboard Query Parameters Value List

How can I turn this:
image

Into something like this:

Thanks for your help!