Singlestat with HTTP status

Hi,
I would like to make dashboard to show status when http code is active. So I used node exporter and I wanted to divide total value of (count(probe_http_status_code{instance=“my.instance”}==200))/(count(probe_http_status_code{instance=“my.instance”})). After that I wanted to use transform → add field from calculation but I got NaN. How Can I do this?

@cinamon

are you performing that division using an expression, or have you tried using the new field from calculation transformation?


I set calculation on total because I didn’t see this option to use in query. After that I’m performing that division using transform.