# Stat Panel

**URL:** https://community.grafana.com/c/support/stat/25.md

[Latest](https://community.grafana.com/latest.md) · [Categories](https://community.grafana.com/categories.md) · [Tags](https://community.grafana.com/tags.md)

---

## [About the Stat Panel category](https://community.grafana.com/t/about-the-stat-panel-category/46)

<div class="topic-metadata">

**Author:** [@torkel](https://community.grafana.com/u/torkel)\
**Replies:** 0\
**Last updated:** [March 11, 2017, 3:44pm UTC](https://community.grafana.com/t/about-the-stat-panel-category/46 "2017-03-11T15:44:09Z")

</div>

Documentation about: Stat Panel Visualization NOTE: :warning: This panel replaces the Singlestat panel, which was deprecated in Grafana 7.0 and removed in Grafana 8.0.

---

## [Color scheme "by series name" is flaky when using Calculations](https://community.grafana.com/t/color-scheme-by-series-name-is-flaky-when-using-calculations/163581)

<div class="topic-metadata">

**Author:** [@liteyear](https://community.grafana.com/u/liteyear)\
**Replies:** 3\
**Last updated:** [July 8, 2026, 11:17am UTC](https://community.grafana.com/t/color-scheme-by-series-name-is-flaky-when-using-calculations/163581 "2026-07-08T11:17:41Z")

</div>

Grafana 13.1.0 docker image running on Ubuntu host. victoria-logs v1.24.0 as datasource I’m trying to create a Stat panel with a count of the logs for each “server\_name”. Each stat background must be coloured usin…

---

## [Stat Panel suddenly uses very small font](https://community.grafana.com/t/stat-panel-suddenly-uses-very-small-font/161952)

<div class="topic-metadata">

**Author:** [@ameinild](https://community.grafana.com/u/ameinild)\
**Replies:** 3\
**Last updated:** [March 23, 2026, 7:34am UTC](https://community.grafana.com/t/stat-panel-suddenly-uses-very-small-font/161952 "2026-03-23T07:34:13Z")

</div>

With the Grafana 12.4 update, suddenly the automatic text size of Stat panels are very small, compared to before (stat panels are the three leftmost panels in the first row). See screenshot: Previously (in 12.3.X) th…

---

## [Stat Visualisation with time range](https://community.grafana.com/t/stat-visualisation-with-time-range/161677)

<div class="topic-metadata">

**Author:** [@crashedthecymbal](https://community.grafana.com/u/crashedthecymbal)\
**Replies:** 8\
**Last updated:** [February 19, 2026, 12:48pm UTC](https://community.grafana.com/t/stat-visualisation-with-time-range/161677 "2026-02-19T12:48:03Z")

</div>

When using a Stat Visualisation, the time range is not working as expected. The sample Date has 5 columns, 1st column is the date, 2nd to 4th are the numbers of Sites 1-4. Screenshot: The first row is not within…

---

## [Percentage calculation on 2 queries in Grafana Tempo Data source is not working](https://community.grafana.com/t/percentage-calculation-on-2-queries-in-grafana-tempo-data-source-is-not-working/159559)

<div class="topic-metadata">

**Author:** [@arvinnogal](https://community.grafana.com/u/arvinnogal)\
**Replies:** 0\
**Last updated:** [November 20, 2025, 11:20am UTC](https://community.grafana.com/t/percentage-calculation-on-2-queries-in-grafana-tempo-data-source-is-not-working/159559 "2025-11-20T11:20:06Z")

</div>

What Grafana version and what operating system are you using? - Grafana version 12.4.0 (build 19378664917). Cloud Free edition running in a production environment What are you trying to achieve? - Show percentage of…

---

## [Longer Display Names Not Being Centered](https://community.grafana.com/t/longer-display-names-not-being-centered/158584)

<div class="topic-metadata">

**Author:** [@intgrafana](https://community.grafana.com/u/intgrafana)\
**Replies:** 1\
**Last updated:** [October 18, 2025, 9:59am UTC](https://community.grafana.com/t/longer-display-names-not-being-centered/158584 "2025-10-18T09:59:35Z")

</div>

Hi, I am on Grafana v12.1.0 and I am trying to create a simple dashboard with some stat panels. Everything has worked out fine so far but when I have a longer display name that needs to take up multiple lines, the displa…

---

## [Trying to combine Two Measurements into one reading in Single Stat](https://community.grafana.com/t/trying-to-combine-two-measurements-into-one-reading-in-single-stat/6444)

<div class="topic-metadata">

**Author:** [@jtindall](https://community.grafana.com/u/jtindall)\
**Replies:** 1\
**Last updated:** [September 22, 2025, 5:23pm UTC](https://community.grafana.com/t/trying-to-combine-two-measurements-into-one-reading-in-single-stat/6444 "2025-09-22T17:23:47Z")

</div>

I am am trying to combine Two Measurements into one reading in Single Stat. The new KPI’s for PCF have two readings that take into account two different measurements. I am unable to get a reading. I have used the follow…

---

## [Tooltip for stat panel](https://community.grafana.com/t/tooltip-for-stat-panel/154250)

<div class="topic-metadata">

**Author:** [@jpraok](https://community.grafana.com/u/jpraok)\
**Replies:** 4\
**Last updated:** [July 11, 2025, 1:58pm UTC](https://community.grafana.com/t/tooltip-for-stat-panel/154250 "2025-07-11T13:58:41Z")

</div>

I have a postgres table “infra\_table” with columns id, display\_name, cpu, ram, disk and status. I need to show a Grafana dashboard using stat panel, where panel will be green if status is “up”, and panel is red if sta…

---

## [How can i set a threshold based on the comparison with the current time](https://community.grafana.com/t/how-can-i-set-a-threshold-based-on-the-comparison-with-the-current-time/120246)

<div class="topic-metadata">

**Author:** [@yongyongsi](https://community.grafana.com/u/yongyongsi)\
**Replies:** 3\
**Last updated:** [July 11, 2025, 7:13am UTC](https://community.grafana.com/t/how-can-i-set-a-threshold-based-on-the-comparison-with-the-current-time/120246 "2025-07-11T07:13:37Z")

</div>

Hi, I want to set the ‘now’ variable as the threshold. I’m fetching the last timestamp value from Elasticsearch and I want to compare it with the current time to display it in different colors. For example, if the time…

---

## [Threshold colors in stat panel about diskpace usage not working](https://community.grafana.com/t/threshold-colors-in-stat-panel-about-diskpace-usage-not-working/117828)

<div class="topic-metadata">

**Author:** [@cmartinez](https://community.grafana.com/u/cmartinez)\
**Replies:** 7\
**Last updated:** [July 3, 2025, 9:11am UTC](https://community.grafana.com/t/threshold-colors-in-stat-panel-about-diskpace-usage-not-working/117828 "2025-07-03T09:11:43Z")

</div>

What Grafana version and what operating system are you using? Grafana v8.2.2 (6232fe07c0) and Debian 11 (bullseye) What are you trying to achieve? I want colors established by threshold change properly as it should. H…

---

## [Stat Panel Sparkline Lacks Visual Context for Percent-Based Metrics](https://community.grafana.com/t/stat-panel-sparkline-lacks-visual-context-for-percent-based-metrics/152674)

<div class="topic-metadata">

**Author:** [@mcfcologne](https://community.grafana.com/u/mcfcologne)\
**Replies:** 0\
**Last updated:** [June 16, 2025, 12:06am UTC](https://community.grafana.com/t/stat-panel-sparkline-lacks-visual-context-for-percent-based-metrics/152674 "2025-06-16T00:06:50Z")

</div>

Yes, it looks like the graph in the Stat panel (Grafana v12.0.1) auto-scales to the min/max of the current data, not a fixed 0–100% range. That’s why the sparkline height and position can be misleading — sometimes 100% e…

---

## [Have stat panels use the average for percent change instead of first vs. last values](https://community.grafana.com/t/have-stat-panels-use-the-average-for-percent-change-instead-of-first-vs-last-values/150111)

<div class="topic-metadata">

**Author:** [@dlskfjdfjdskfs](https://community.grafana.com/u/dlskfjdfjdskfs)\
**Replies:** 1\
**Last updated:** [May 14, 2025, 7:46pm UTC](https://community.grafana.com/t/have-stat-panels-use-the-average-for-percent-change-instead-of-first-vs-last-values/150111 "2025-05-14T19:46:47Z")

</div>

What Grafana version and what operating system are you using? 12.0.0 on Debian What are you trying to achieve? Stat panels have an option for “show percent change.” From what I can tell, it looks like Grafana calc…

---

## ["Format String" Transformation error when NULL values are present](https://community.grafana.com/t/format-string-transformation-error-when-null-values-are-present/149833)

<div class="topic-metadata">

**Author:** [@cayse](https://community.grafana.com/u/cayse)\
**Replies:** 6\
**Last updated:** [May 9, 2025, 5:08am UTC](https://community.grafana.com/t/format-string-transformation-error-when-null-values-are-present/149833 "2025-05-09T05:08:52Z")

</div>

What Grafana version and what operating system are you using? v11.4.1 What are you trying to achieve? Apply a Format String transformation to a field that contains some null values. How are you trying to achiev…

---

## [Percentage of 2 differents types of answers](https://community.grafana.com/t/percentage-of-2-differents-types-of-answers/149873)

<div class="topic-metadata">

**Author:** [@greguare](https://community.grafana.com/u/greguare)\
**Replies:** 0\
**Last updated:** [May 7, 2025, 10:03am UTC](https://community.grafana.com/t/percentage-of-2-differents-types-of-answers/149873 "2025-05-07T10:03:04Z")

</div>

im a using Grafana v9.5.5 , windows I’m trying to display a “XX%” of fail over succes from differents status (“error” or “succes”) Using Stats, at first i tried simple operations : 2 queries to get differents metrics …

---

## [Different Max on Multiple Stat Panels](https://community.grafana.com/t/different-max-on-multiple-stat-panels/107065)

<div class="topic-metadata">

**Author:** [@tstonis](https://community.grafana.com/u/tstonis)\
**Replies:** 6\
**Last updated:** [April 25, 2025, 8:13pm UTC](https://community.grafana.com/t/different-max-on-multiple-stat-panels/107065 "2025-04-25T20:13:12Z")

</div>

Hi, On Grafana 7, when I had multiple stat panels for multiple data sources and a total panel for all of them, the sparkle graph max would adjust in each panel to the max of the data source. In Grafana 10, the max on al…

---

## [Color of Stat panel based on other value/measurement](https://community.grafana.com/t/color-of-stat-panel-based-on-other-value-measurement/67268)

<div class="topic-metadata">

**Author:** [@pjmaertens](https://community.grafana.com/u/pjmaertens)\
**Replies:** 20\
**Last updated:** [April 23, 2025, 1:11pm UTC](https://community.grafana.com/t/color-of-stat-panel-based-on-other-value-measurement/67268 "2025-04-23T13:11:45Z")

</div>

Hi Is it possible to display a value on a Stat panel and base the color of it on another value? More specific: I would like to display the temperature of two rooms and when the temperature between those two rooms is m…

---

## [Width of the y Axis text is not changable](https://community.grafana.com/t/width-of-the-y-axis-text-is-not-changable/148056)

<div class="topic-metadata">

**Author:** [@pedrodacosta](https://community.grafana.com/u/pedrodacosta)\
**Replies:** 0\
**Last updated:** [April 9, 2025, 11:35am UTC](https://community.grafana.com/t/width-of-the-y-axis-text-is-not-changable/148056 "2025-04-09T11:35:24Z")

</div>

What Grafana version and what operating system are you using? Windows Version 11.6.0 What are you trying to achieve? Showing what and when an Alarm was active in a time Frame How are you trying to achieve it? …

---

## [Stat panel not showing all the panels](https://community.grafana.com/t/stat-panel-not-showing-all-the-panels/142339)

<div class="topic-metadata">

**Author:** [@shamilton1](https://community.grafana.com/u/shamilton1)\
**Replies:** 2\
**Last updated:** [February 3, 2025, 5:11pm UTC](https://community.grafana.com/t/stat-panel-not-showing-all-the-panels/142339 "2025-02-03T17:11:43Z")

</div>

Good morning We are using Grafana 9.2.10, Open Source version We have 104 hosts in our production environment and need to show a health panel. To do this I have created a panel using the Stat type with a raw query and…

---

## [Value constantly changing between panels](https://community.grafana.com/t/value-constantly-changing-between-panels/141788)

<div class="topic-metadata">

**Author:** [@maximbozek](https://community.grafana.com/u/maximbozek)\
**Replies:** 0\
**Last updated:** [January 30, 2025, 12:24pm UTC](https://community.grafana.com/t/value-constantly-changing-between-panels/141788 "2025-01-30T12:24:41Z")

</div>

Hi, I got this panel (stat) made and I am duplicating it to use it again for another column in my database (I am changing the query also). I am also transforming this value to a integer. For some reason all stat panels …

---

## [Threshhold for unix-timestamp/Unit "From Now"](https://community.grafana.com/t/threshhold-for-unix-timestamp-unit-from-now/80865)

<div class="topic-metadata">

**Author:** [@grafanajul](https://community.grafana.com/u/grafanajul)\
**Replies:** 9\
**Last updated:** [January 6, 2025, 3:18pm UTC](https://community.grafana.com/t/threshhold-for-unix-timestamp-unit-from-now/80865 "2025-01-06T15:18:00Z")

</div>

Hello all, I created a Stat Panel where I monitore the last “Date modified” time. I get a unix timestamp from my zabbix Agent and scale it with 1000 in Grafana. Then I use the Unit “From Now” to see, when the file was …

---

## [Stat Panels - Query Options - Relative Time](https://community.grafana.com/t/stat-panels-query-options-relative-time/129921)

<div class="topic-metadata">

**Author:** [@james35d3](https://community.grafana.com/u/james35d3)\
**Replies:** 1\
**Last updated:** [January 3, 2025, 4:54pm UTC](https://community.grafana.com/t/stat-panels-query-options-relative-time/129921 "2025-01-03T16:54:26Z")

</div>

I am having trouble with something I feel should be relatively straight forward. I am sharing a query from one panel to others to reduce redundancy. This works great and allows for the supporting panels to provide the a…

---

## ["Stat panel" with a single line panel - view is not correct for relative time = "now/d" in the query options](https://community.grafana.com/t/stat-panel-with-a-single-line-panel-view-is-not-correct-for-relative-time-now-d-in-the-query-options/138565)

<div class="topic-metadata">

**Author:** [@vierzwerge](https://community.grafana.com/u/vierzwerge)\
**Replies:** 0\
**Last updated:** [December 17, 2024, 1:14pm UTC](https://community.grafana.com/t/stat-panel-with-a-single-line-panel-view-is-not-correct-for-relative-time-now-d-in-the-query-options/138565 "2024-12-17T13:14:15Z")

</div>

I’m using Grafana Version 11.3.1 I create a panel with the “Stat panel” Plugin and the height of the panel has to be exact a single line. If I add a relative time = “now/d” (and with “Hide time info”=true) in the quer…

---

## [Date Data Display in a Stat Panel](https://community.grafana.com/t/date-data-display-in-a-stat-panel/137676)

<div class="topic-metadata">

**Author:** [@kohkifukuta](https://community.grafana.com/u/kohkifukuta)\
**Replies:** 1\
**Last updated:** [December 5, 2024, 4:31am UTC](https://community.grafana.com/t/date-data-display-in-a-stat-panel/137676 "2024-12-05T04:31:19Z")

</div>

What Grafana version and what operating system are you using? Windows11 Grafana11.2.0 What are you trying to achieve? Display date data from external input（MQTT）. I want to send date data in the format yyyy/mm…

---

## [Color from one column, label from another](https://community.grafana.com/t/color-from-one-column-label-from-another/137104)

<div class="topic-metadata">

**Author:** [@someoneoutthere](https://community.grafana.com/u/someoneoutthere)\
**Replies:** 8\
**Last updated:** [November 26, 2024, 1:10pm UTC](https://community.grafana.com/t/color-from-one-column-label-from-another/137104 "2024-11-26T13:10:30Z")

</div>

I’m sure this is a very basic function but I cant for the life of me find the answer. I want to display the results of a health check on a couple of different sub systems. I wish to display this info dynamically as a n…

---

## [Ability to color lines by threshold values](https://community.grafana.com/t/ability-to-color-lines-by-threshold-values/51546)

<div class="topic-metadata">

**Author:** [@vikozo](https://community.grafana.com/u/vikozo)\
**Replies:** 11\
**Last updated:** [November 20, 2024, 4:41am UTC](https://community.grafana.com/t/ability-to-color-lines-by-threshold-values/51546 "2024-11-20T04:41:51Z")

</div>

Hello 8.1 should be able to The Time Series panel now includes the ability to color lines by threshold values. is there a example where to set this exactly? have a nice day vinc

---

## [Link from singlestat panel value](https://community.grafana.com/t/link-from-singlestat-panel-value/26291)

<div class="topic-metadata">

**Author:** [@spbnick](https://community.grafana.com/u/spbnick)\
**Replies:** 2\
**Last updated:** [November 15, 2024, 11:31am UTC](https://community.grafana.com/t/link-from-singlestat-panel-value/26291 "2024-11-15T11:31:27Z")

</div>

Hi everyone, Is there a way to make the displayed singlestat value a link, with URL pulled from the data source as well? I’m (ab)using Grafana to build a quick prototype for displaying CI results for the Linux Kernel, …

---

## [Stat panel not showing hostnames](https://community.grafana.com/t/stat-panel-not-showing-hostnames/135323)

<div class="topic-metadata">

**Author:** [@bubikort](https://community.grafana.com/u/bubikort)\
**Replies:** 2\
**Last updated:** [November 8, 2024, 8:24am UTC](https://community.grafana.com/t/stat-panel-not-showing-hostnames/135323 "2024-11-08T08:24:39Z")

</div>

Hi Guys. After an upgrade i have a problem with my stat panels. Before it, if i used the following filtering: I got the value WITH the name of the host on the panel: After the upgrade, if i filter to exact host,…

---

## [Calculation on data from multiple datasources](https://community.grafana.com/t/calculation-on-data-from-multiple-datasources/132963)

<div class="topic-metadata">

**Author:** [@jakob17](https://community.grafana.com/u/jakob17)\
**Replies:** 8\
**Last updated:** [September 27, 2024, 6:07am UTC](https://community.grafana.com/t/calculation-on-data-from-multiple-datasources/132963 "2024-09-27T06:07:39Z")

</div>

I’m having some issues doing a calculation which combines data from multiple databases, maybe someone here can help me out :slight\_smile: What Grafana version and what operating system are you using? Grafana Cloud (s…

---

## [Stat panel color based on flag](https://community.grafana.com/t/stat-panel-color-based-on-flag/132039)

<div class="topic-metadata">

**Author:** [@munpopo](https://community.grafana.com/u/munpopo)\
**Replies:** 3\
**Last updated:** [September 25, 2024, 7:43pm UTC](https://community.grafana.com/t/stat-panel-color-based-on-flag/132039 "2024-09-25T19:43:13Z")

</div>

What Grafana version and what operating system are you using? OSS 11.1.2 What are you trying to achieve? I try to set panel stat colors based on value that I have from another query. In tried to do this in similar…

---

## [Climate.HVAC\_ACTION - Summary total usage per day](https://community.grafana.com/t/climate-hvac-action-summary-total-usage-per-day/128847)

<div class="topic-metadata">

**Author:** [@flyfishutah](https://community.grafana.com/u/flyfishutah)\
**Replies:** 6\
**Last updated:** [August 18, 2024, 2:59pm UTC](https://community.grafana.com/t/climate-hvac-action-summary-total-usage-per-day/128847 "2024-08-18T14:59:01Z")

</div>

I have a Nest Thermostat which its acitivity is being captured in Home Assistance within an InfluxDB database. I created a Stat Panel, that will show by the events how long it was in state for… For instance one section…

[Next page](https://community.grafana.com/c/support/stat/25.md?page=1)
