What is the correct syntax query to use non negative deriative function with sum of multiple field grouping by day ?

I try something like the exemple below but the result is not the result expected.

SELECT non_negative_derivative(sum(“A”), 1s) + non_negative_derivative(sum(“AAAA”), 1s) + non_negative_derivative(sum(“SRV”), 1s) FROM “bind” WHERE (“type” = ‘prod’) AND $timeFilter GROUP BY time(24h) fill(null)

What is the correct syntax query to use non negative deriative function
with sum of multiple field grouping by day ?

I try something like the exemple below but the result is not the result
expected.

It would be helpful to tell us what you expect the result to be, and what
result you actually get, so we can tell where you might want to adjust things.