# InfluxDB Alias by other Column value

**URL:** <https://community.grafana.com/t/influxdb-alias-by-other-column-value/12222>\
**Category:** InfluxDB\
**Created:** [November 20, 2018, 4:52pm UTC](https://community.grafana.com/t/influxdb-alias-by-other-column-value/12222 "2018-11-20T16:52:17Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![ondrejkolin](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/ondrejkolin/32/5362_2.png) [@ondrejkolin](https://community.grafana.com/u/ondrejkolin)\
**Post date:** [November 21, 2018, 7:18am UTC](https://community.grafana.com/t/influxdb-alias-by-other-column-value/12222/3 "2018-11-21T07:18:38Z")

</div>

I am not sure I understand you well, because I think a lack the terminology here (whoops). By tag you mean a column, field? Or is “tag” something that’s has to be setted up in Grafana?

> [@bkgann](#):
>
> You should be able to add a group by tag\_service, and in the alias reference the tag like this:  
> ALIAS BY `FAN $tag_service`

Copy-pasting did not work for me 😄

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

---

_[View the full topic](https://community.grafana.com/t/influxdb-alias-by-other-column-value/12222)._
