Using two variables to display data

I’m a relative new user and have run in to a “problem”. I’d like to display data using Elastisearch AND using two variables. In the picture below you can see my current queries.
The goal is to choose some different acitivityId in the top left, and then choose which verdict i want (top left corner). The problem right now is that just all verdicts displays, and aren’t based on the activityId.

Is there someone who knows how i should handle the queris and/or the variables?

Thanks in advance.

I used this variables and Query to make it work.