Filter unique Tag values on Grafana variable

Team,

I want to filter the results based on the tag value I pass through our test(Runid, scenario name, etc…).

Guide me on this.