You are an absolute genius! It works perfectly.
It was not an obvious transformation so I have learned something today.
Thank you very much.
David Answer from davidgoadby on community.grafana.com
Grafana
community.grafana.com โบ dashboards
Combine two values from a time series to produce a graph of the sum - Dashboards - Grafana Labs Community Forums
February 25, 2024 - What Grafana version and what operating system are you using? 10.3.1 What are you trying to achieve? A single line graph which represents the sum of the same field from two time series. How are you trying to achโฆ
Grafana
community.grafana.com โบ elasticsearch
Summing 2 series results to a single value - Elasticsearch - Grafana Labs Community Forums
April 27, 2021 - Hi I created a panel and 2 queries. Each query returns a single value. My goal is to display a single value, which is the sum of both values. Please advise. Thanks Shay
Grafana
community.grafana.com โบ graphite
sumSeries() for templated query - Graphite - Grafana Labs Community Forums
November 13, 2017 - I have a query as follows: sumSeries(servers.test_server.$host.$tenant.ps.example_query_for_[[tenantnumber]]_question.average) The [[tenantnumber]] template variable has about 10 or so values to it, so what I want to see is those 10 nodes being graphed individually, but the sumSeries should sum up the all the hosts and tenants I choose, so for instance, if the tenantnumber is 5, Iโd like to see: servers.test_server.(host1+host2+host3).(tenant1+tenant2).ps.example_query_for_5_question.average ...
Graphite
graphite.readthedocs.io โบ en โบ latest โบ functions.html
Functions โ Graphite 1.2.0 documentation
Aggregate series using the specified function. ... This function can be used with aggregation functions average (or avg), avg_zero, median, sum (or total), min, max, diff, stddev, count, range (or rangeOf) , multiply & last (or current).
InfluxData Community
community.influxdata.com โบ fluxlang
Aggregate "sum" from multiple series for Grafana graph panel - Fluxlang - InfluxData Community Forums
June 1, 2021 - My data I have a measurement that have the total memory of each VM on each host in megabytes (granularity of 30s). The memory of the VMs can be changed and also the host of the VMs can also be changed. For example; I have two nodes and 4 VMs: _time, host, vm, _value 2021-06-01 10:41:00 GMT+2, FPPW9406, VM01, 4096 2021-06-01 10:41:00 GMT+2, FPPW9406, VM02, 1024 2021-06-01 10:41:00 GMT+2, FPPW9407, VM03, 4096 2021-06-01 10:41:00 GMT+2, FPPW9407, VM04, 1024 2021-06-01 10:40:30 GMT+2, FPPW94...
Grafana
community.grafana.com โบ dashboards
Sum time series with slightly different timestamps - Dashboards - Grafana Labs Community Forums
September 28, 2022 - I am running Grafana in docker (latest) on Ubuntu 16.04 on a โshuttleโ mini-computer. I am using the infinity data-source plugin to get energy data from a REST API (json). I want to graph electric power (input or output). For that I need to sum value from three phases (IP1, IP2 and IP3). I get time series ...
Grafana
community.grafana.com โบ time series panel
Sum all values in an hour from a grouped time series - Time Series Panel - Grafana Labs Community Forums
December 21, 2022 - hello community i am using the open source v8.5.3 currently i have a time series data from the following query SELECT $__timeGroup(datetime, โ15mโ,0) AS time, IF(count(0) > 0, 1, 0) as value, type as metric FROM table_sensors WHERE uid = 491 group by $__timeGroup(datetime,โ15mโ,0), ...
Grafana
community.grafana.com โบ dashboards
How to graph a cumulative sum of different influxdb series - Dashboards - Grafana Labs Community Forums
April 4, 2024 - Hi all, I am using grafana 10.4.1 as part of home assistant on a raspi 4 together with influxdb 1.8.10. I want to have a cumulative sum in a graph of my savings from my solar panels. That is easy in my eyes as long a the kWh cost remains constant. I do have a metric with the sum of the self-used ...
Grafana
community.grafana.com โบ dashboards
Grafana - Adding ( Summing) 2 different queries - Dashboards - Grafana Labs Community Forums
November 1, 2023 - Hi all, Iโve been working on my dashboard and i would like to add a sum of two values in a graph: Here is my query config: So i have two queries that are monitoring the traffic , and i would like to add the sum of those two values on the same graph. As you can see, when i do transformation, ...
Grafana
community.grafana.com โบ dashboards
Sum up only positive values of expression in time series - Dashboards - Grafana Labs Community Forums
May 29, 2023 - Grafana v9.5.2 (cfcea75916) on Raspbian What are you trying to achieve? I want to sum up a difference between two series, but only the positive values. Background is that I have a energy consumption and a energy production time series, both in InfluxDB. I want to calculate how much I get from ...
Grafana
community.grafana.com โบ t โบ division-of-2-sum-series-in-single-stat-graphite โบ 3332
Division of 2 sum-series in single-stat (graphite) - Grafana - Grafana Labs Community Forums
October 19, 2017 - I want to produce a single stat representing my percentage of failed requests. Each used in a single stat display, I have: #A: sum series showing number of failed requests last week #B: sum series showing number of total requests last week I want to produce a single stat giving me a percentage ...
Grafana
community.grafana.com โบ dashboards
Sum multiple series with the same name - Dashboards - Grafana Labs Community Forums
September 1, 2025 - Grafana 11.4 with a Zabbix 7.2 data-source. A Grafana Stat panel queries Zabbix and returns multiple metrics from different hosts, each with similar series names. For example: Series 20 = 1 Series 20 = 2 Series 22 = 1 Series 22 = 3 Series 22 ...
Stack Overflow
stackoverflow.com โบ questions โบ 79728381 โบ how-do-i-show-a-cumulative-sum-of-each-series-in-a-grafana-multi-series
charts - How do I show a cumulative sum of each series in a Grafana multi series? - Stack Overflow
Then I have to add a Add Field From Calculation (Cumulative Function, Total) transformation to get a new cumulative field to use, and filter out the original fields. This converts series back into a single wide time series.