I currently have a dashboard variable dimensionValue
defined in my variables, in my dashboard. This query for this variable equates to 2 possible values : ORDS or APEX. I would like to label the lines on a time series graph based on these variables. I tried using $dimensionValue
in the Display name (Change the field or series name) field, however this ends up showing both the values in the graph legend. The green represents the first value 'APEX', and the yellow represents the second value 'ORDS'. I just want them to have their respective names instead of the whole tuple.
It seems you are missing what Display name options does. It can have a dynamic results, but only based on field of your actual data set. And it cannot simply match arbitrary list of values with series.
Depending on data source in use you might have an option set a legend in query option. Or you can apply name through some logic over __field
variable, but generally what you described in question is not possible.