Change value to negativ

InfluxDB1.8 Grafana9.1

hello
i got packet sending and receiving
the value sending i would like to have it as a negative value!
so out would be negativ and in would be possitiv and

Is there a way to make a value negativ?

have a nice day
vinc

1 Like

Maybe multiply by -1

1 Like

@yosiasz thanks for your feedback
so i have done

Transform - add field from calculation
Mode Binary Operation
Operation select the data * -1
and give a Alias Name

this is negative and looks god to me
so just have to find something for this problem to use it

have a nice day
vinc