Calculations: Update First * and Last * reducers to exclude NaNs (#77323)

This commit is contained in:
Nathan Marrs
2023-10-30 10:33:40 -07:00
committed by GitHub
parent 05b6f7f396
commit 40df27a4da
3 changed files with 62 additions and 10 deletions
@@ -29,9 +29,9 @@ The following table contains a list of calculations you can perform in Grafana.
| Difference percent | Percentage change between first and last value of a field |
| Distinct count | Number of unique values in a field |
| First | First value in a field |
| First\* (not null) | First, not null value in a field |
| First\* (not null) | First, not null value in a field (also excludes NaNs) |
| Last | Last value in a field |
| Last\* (not null) | Last, not null value in a field |
| Last\* (not null) | Last, not null value in a field (also excludes NaNs) |
| Max | Maximum value of a field |
| Mean | Mean value of all values in a field |
| Variance | Variance of all values in a field |