You can also use a transform of the type “Rename by regex” to solve this for multiple signals in one query.
Simply create a regex that catches the name you want as a capture group, so you can use the replacement variable $1.
In the first screenshot you see the typical crazy names that we get out of the query.
The second one shows the transform and the result.
Sorry, i can’t get it I had a lock at the time series but don’t know how to adapt it.
The regex thing would be perfect for my needs, do you have an idea why it doesn’t work? Are there some known issues?