Extract individual values from a single query

I’m trying to find a way for the following problem: we want to measure the CPU usage (%) per instance, therefore we’re using the following query:
100 - (avg by (instance) (irate(node_cpu_seconds_total{instance=~"$instance",job="<our_job>",mode="idle"}[1m])) * 100)

We also have defined a variable (query type) for selecting which instance we want to query:
(this variable has support for ‘Multi-value’)

What we can’t achieve though is: when we select more than one instance, the graph is created only for the last instance - we’d like to have different lines for each instance.

Graph for 2 instances

Graph for the last instance

Is there a way for doing this? Thanks!

welcome to the :grafana: forum, @andrei112

What version of Grafana are you using? Those screenshots look very old…