Grafana version 9.4.3
I have a query that returns two columns, a number and a time stamp. I would like to show instead calculate the time difference between the values, so this can be displayed as a bar chart highlighting the variation between each time stamp
SELECT TimeDate, Step as value FROM dbo.AGVstep WHERE $__timeFilter(TimeDate) AND Program <> 0 AND Program in ($Program) and Step in ($Step) and AGV in ($AGV) order by TimeDate asc
I would achieve this in excel by simply using each value and subtracting the previous
Can anyone advise how I can do this in Grafana?