i want to select balance value returning from the below query
SELECT sum(“errorCount”) /count(“responseTime”) FROM “requestsRaw” WHERE (“requestName” =~ /^$request$/) AND $timeFilter
I have tried this, but getting error
SELECT 1 - sum(“errorCount”) /count(“responseTime”) FROM “requestsRaw” WHERE (“requestName” =~ /^$request$/) AND $timeFilter