Using nested variables, or a variable name within another variable

Have tried using nested variables in a Gauge Title Panel, and also as the content of a Text Panel, but nothing seems to work. Our dashboard can be used on multiple hosts, so it would be great if there was some way to do this (we are using grafana with prometheus):

The $Host variable is set from a dashboard drop-down; and say it is set to “server1” for this example.

server1_variable is a variable constant set to 100
server2_variable is a variable constant set to 200

When the following is used in either a Panel Title or the Content of a Text Panel, only 1 variable is recognized:


What this displays is: ${server1_variable}
It is not translated as the variable constant with a value of 100

Is there any way to make this work?