What is your datasource? It would be more appropriate to do it by its means.
Using Grafana’s transformation the closiest you can achieve is something like this:
What is your datasource? It would be more appropriate to do it by its means.
Using Grafana’s transformation the closiest you can achieve is something like this: