Merge Prometheus variables

Hi,

I have 3 variables define in a dashboard:
$deviceip|label_values({job=“snmp”},instance)
$ifname|label_values({instance=~"$deviceip"},ifName)
$ifalias|label_values({instance=~"$deviceip",ifName=~"$ifname"},ifAlias)

They are working fine, but I wanted to “append” the $deviceip to the $ifalias variable, so that the user would know from which device the interface is from when he is using the drop-down menu. Is there a way to combine these 2 variables and then maybe hide the original ones?

Thanks,
Marcelo