I was thinking maybe I can achieve my goal with the transform section of Grafana, but I can only manage to do calculations inside a row, it does not take in consideration every row of the columns, so it looks like it is a dead end from this side…
The way Grafana parses the result from InfluxDB is that if a _value column is found, it is assumed to be a time-series. The quick workaround is to add the following: