How to create a name for a metric?

please see screenshot below - how do I get a name instead of “undefined” for a metric?
I have 7 different queries in in the panel

Its somehow working in the editor - but after saving the changes - Grafana is not showing any value?
editor mode: