Looking up a variable value from another variable?

I want to display information about Cromulators and Decromulators on my dashboard. Each Cromulator is associated with one and only one Decromulator. I have a query variable that gets a list of Cromulators in my environment. This variable appears as a dropdown selection on my dashboard.

Once the user selects a Cromulator, I want to display information about the selected Cromulator and its associated Decromulator. I created a custom variable to map Cromulators (which are named after fruits) to their respective Decromulators (which are named after car parts):

Apple : Carburetor, Banana : SparkPlug, Cantaloupe: BrakeLight, Durian: WaterPump

I’m stuck trying to look up the appropriate Decromulator from the selected Cromulator in an expression so that I can display Decromulator information for the selected Cromulator. I thought I could do this with the custom variable, using the Cromulators as the keys and the Decromulators as the values, but it appears that Grafana won’t let me get the value of a key/value pair in an expression.

Is there any easy way to do a key/value lookup using the value of one variable as the key that will return the mapped value from a second variable?

(For what it’s worth, ‘Cromulators’ and ‘Decromulators’ in my case are Dimensions in CloudWatch queries.)

Have you explored the documentation and online examples for creating chained variables?

I’m also having the same issue. I wanted to make chained variable nodes of clusters these variables are created from Dimension Values in Cloudwatch.