Variables from non group keys


I would like to use the Time Series panel’s Data link feature for navigation to other dashboard based on the point that I clicked on. The template variables of the target dashboard is originated from the point fields and tags.

When I use |> group(columns: [“…”]) flux statement, tags listed in the columns modifies the group keys. As I experienced:

  1. group keys defines the series, and If want to achieve something like this: Color by field name - #27 by grant2 the group array must be single element.
  2. Only the members of the group keys can be used as variable in Data Links.

Do you have any idea, how can I use tags returned from the flux query as variable despite of the fact that, they are not members of group keys.

Thank you!