How to add Dynamic Variable into Graphs like filter with Victoriametrics

Hello,

I have an issue with binding my Variable with graphs, because Iam using Metrics from Victoriametrics and I do not see
How Can I bind my metrics with Variables.

At the end I want to achieve Variable like a filter to choose data from specific place.

On a Query in graphs I do not see any option to add something like this.
Could you please advise how to do it?

For now my Variable takes value from metric, so it works (because I can choose from that button different things),

But I do not have idea how to do it on the graph.

For now my Variable takes value from metric, so it works (because I can choose from that button different things),

Have you tried nesting variables? Like variable B depends on values of variable A. For example, on this dashboard variable instance depends on values selected in variable job.