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 ...
๐ŸŒ
Grafana
community.grafana.com โ€บ dashboards
How to do a basic summation? - Dashboards - Grafana Labs Community Forums
June 30, 2023 - What Grafana version and what operating system are you using? Running a Docker container from the grafana/grafana image, launched 6/28/23 so likely the most recent version. What are you trying to achieve? Iโ€™m trying to sum several metrics into one total number.
๐ŸŒ
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 of all the values for each data points - Dashboards - Grafana Labs Community Forums
August 4, 2022 - Hi , Can you pls let me know if there is any way to sum all the available values of each data points and display it. Ie in below snapshot We have 4 values for 11th April data and I want to display the sum of all these vโ€ฆ
๐ŸŒ
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 ...
Find elsewhere
๐ŸŒ
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 โ€บ time series panel
sumSeries and graphite query - Time Series Panel - Grafana Labs Community Forums
February 6, 2018 - Hello, I have an issue to aggregate 2 values: The yellow and green lines are ok, but the sumSeries of these 2 values is not correct. Do you know why there is this behavior ? Thanks for your help
๐ŸŒ
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.