FLUX - How to make individual Alias?

Dear all,

i have running new Influx2.1 version now (from 1.x) and have to use now FLUX in Grafana. Everything works fine BUT I can’t manage to use an ALIAS in my code.
What works is to use OVERRIDE and make my own new name BUT I have to do it for every and each value which is not really good and time consuming.

Is there not a coding I can use in FLUX like make Alias = abcd ?

Would help a lot !

There are some solutions outlined in this thread.

I have red this thread but without success.
tried in coding like here for example:

|> group(columns: [“Device”])

But it doesn’t help and nowhere is a good documentation for simply implement in coding an alias !
That is actually my problem :frowning: