# Table: show tags as columns

**URL:** <https://community.grafana.com/t/table-show-tags-as-columns/80744>\
**Category:** Dashboards\
**Tags:** influxdb\
**Created:** [January 31, 2023, 11:17am UTC](https://community.grafana.com/t/table-show-tags-as-columns/80744 "2023-01-31T11:17:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![m4nuel](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@m4nuel](https://community.grafana.com/u/m4nuel)\
**Post date:** [January 31, 2023, 11:17am UTC](https://community.grafana.com/t/table-show-tags-as-columns/80744/1 "2023-01-31T11:17:44Z")

</div>

Hello,

I use Grafana 9.3.6 with InfluxDB 2.6 and want to show some data as a table.

In Influx the table looks like this:

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/1/c/1c9dcab8b1963051e3c6d71fa9ce5414a6cf8c83.png)

My query is realtively easy:  
from(bucket: “production-30days”)  
|\> range(start: v.timeRangeStart, stop: v.timeRangeStop)  
|\> filter(fn: (r) =\> r[“\_measurement”] == “garkammernve”)  
|\> filter(fn: (r) =\> r[“kammer”] == “GK2”)  
|\> aggregateWindow(every: v.windowPeriod, fn: last, createEmpty: false)  
|\> yield(name: “last”)

Now I want to have this table in Grafana but my table looks like this:

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/1/4/14343b1384e93da50b0c68ae9e1384b18e432262.png)

How can I add the tags “kammer” and “Artikel” as additional columns? I didn’t find anything on the web so I think this should be easy, but I don’t know in which direction I have to search.

Thanks for your help  
Manuel

---

<div class="post-metadata">

**Author:** ![m4nuel](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@m4nuel](https://community.grafana.com/u/m4nuel)\
**Post date:** [January 31, 2023, 2:48pm UTC](https://community.grafana.com/t/table-show-tags-as-columns/80744/2 "2023-01-31T14:48:52Z")

</div>

I found the missing piece: group()  
With |\> group(columns: [“\_time”, “Artikel”, “kammer”, “\_value”], mode: “except”) it looks the way I want it to look.

Best regards  
Manuel
