Derivative function in flux query

I was trying out derivative operator of flux. When I had set nonNegative parameter to be true, there were certain negative values returned as well. Checked the code, everything looks good there. Can someone look into this?

Hi @Kanika_Khetawat welcome !

can you share the code used ?

best regards ,