Transformations: Use asterisk for First non-null label (#45940) (#46014)

(cherry picked from commit 07dda8a299)

Co-authored-by: matt abrams <37156449+zuchka@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2022-03-01 14:03:34 +01:00
committed by GitHub
co-authored by matt abrams
parent a31a0e898a
commit 6e03fe1f94
@@ -140,14 +140,14 @@ export const fieldReducers = new Registry<FieldReducerInfo>(() => [
standard: true,
reduce: calculateLast,
},
{ id: ReducerID.first, name: 'First', description: 'First Value', standard: true, reduce: calculateFirst },
{
id: ReducerID.firstNotNull,
name: 'First',
name: 'First *',
description: 'First non-null value',
standard: true,
reduce: calculateFirstNotNull,
},
{ id: ReducerID.first, name: 'First', description: 'First Value', standard: true, reduce: calculateFirst },
{ id: ReducerID.min, name: 'Min', description: 'Minimum Value', standard: true },
{ id: ReducerID.max, name: 'Max', description: 'Maximum Value', standard: true },
{ id: ReducerID.mean, name: 'Mean', description: 'Average Value', standard: true, aliasIds: ['avg'] },