I’m trying to get data structured like this:
to look like this:
I am using the Graph Visualization with X-Axis mode set to Series.
My query is:
select t.name as Value, round(sum(i.points)/12, 1) as Metric from event e, issue i, team t where i.key = e.issue and t.id = i.assignee and e.type = 'Closed' and t.role = 'DEVELOPER' and e.date < (now() - interval '1 year') group by Value order by Metric ;
I’ve been reading Community topics and modifying my query for days. I would really appreciate some help.
Grafana Version: v6.4.0 (c3b3ad4)
PostgreSQL Version: PostgreSQL 10.9 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11), 64-bit
Thanks!