# Linking annotations with data in a table

**URL:** <https://community.grafana.com/t/linking-annotations-with-data-in-a-table/108633>\
**Category:** Dashboards\
**Tags:** annotation\
**Created:** [November 27, 2023, 8:58am UTC](https://community.grafana.com/t/linking-annotations-with-data-in-a-table/108633 "2023-11-27T08:58:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![algose](https://avatars.discourse-cdn.com/v4/letter/a/f1d935/32.png) [@algose](https://community.grafana.com/u/algose)\
**Post date:** [November 27, 2023, 8:58am UTC](https://community.grafana.com/t/linking-annotations-with-data-in-a-table/108633/1 "2023-11-27T08:58:06Z")

</div>

- What Grafana version and what operating system are you using? **→** v10.2

- **What** are you trying to achieve? **→** 

I want to show annotations made in dahsboard **Machine Details** , show in another one, **Machines Overview** (I have achieved this with the annotations list visualization). But I want to show them linked with one of the variables selected.

In **Machine Details** , I have a variable called **“Machines”** , that can be A, B, C, etc. This variable is not multi-value and does not include “All option”, meaning, in this dashboard there is always 1 unique “machine” selected.

In the dashboard **Machines Overview** , I have a table that summarise some information about all the machines (one row per machine). I would like to show in this table all the annotations made for each machine in the time range applied. If there was more than one annotation made for a machine, they would have to be concatenated to show all of them in a single “annotations” column.

- **How** are you trying to achieve it? → I set up an annotation query to display annotations with a specific tag.

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/a/2/a261139ce92f6e3b2a6040f8c3bfb15ef729b65c.png)

- What happened? → I can show them in a annotation list visualization, but I can’t show them in a table grouped by machine. The annotations appear to only be linked to the timestamp and not anything else. **How can I linked them to the “machine” variable selected?**

- Did you receive any errors in the Grafana UI or in related logs? If so, please tell us **exactly** what they were. → No

- Did you follow any online instructions? If so, what is the URL?  
 → [Annotate visualizations | Grafana documentation](https://grafana.com/docs/grafana/latest/dashboards/build-dashboards/annotate-visualizations/)

* * *

Edit: I’m guessing this is not possible (at least not trivial without using the API) today, but will be when this is implemented: [Automatically add template variable as annotation tags · Issue #24674 · grafana/grafana · GitHub](https://github.com/grafana/grafana/issues/24674)
