Variable Labels based off other variables?

Hello,

I’ve been unable to find an answer to this but have seen similar requests. I’m creating dashboards for our switches to get performance metrics. I have a variable to get the interface name and I have another variable to get the port description. What I want is to have a variable that will show the label as “Port Name + Port Description” and based on selection, pick the port name to show the corresponding statistics. I’ve not been able to find a way to create such a variable so far and I looked into chained variables. So for example:

Variable A: GigabitEthernet0/1, GigabitEthernet0/2, GigabitEthernet0/3
Variable B: WorkStation, IPPhone, AccessPoint

What I want is a variable that will display “GigabitEthernet0/1 - WorkStation” in the dropdown for the user but the value will be ‘GigabitEthernet0/1’. Can someone tell me how this is accomplished?

Influx 1.8.6
Grafana 7.5.6

thank you

Anyone have a solution to this?