grafana2.tpo: Templating [query0] Error updating options: error when executing the sql query
i'm trying to create a variable (https://grafana2.torproject.org/d/inflation-observed-gt-weight/inflation-detection-observed-gt-weight?orgId=1&from=now-30d&to=now&editview=templating&editIndex=0) from this query:
select distinct node_id from bandwidth_record group by node_id, bw, bw_mean having max(bw_mean) < max(bw * 1000.0) / 200 and bw_mean > -1
but i can't run the query or it returns the error.
In a local grafana instance with same datasource, the variable (and query) works
Update: typo
Edited by juga