diff --git a/public/app/plugins/panel/stat/types.ts b/public/app/plugins/panel/stat/types.ts index 533189c2b98..7e2f96e0115 100644 --- a/public/app/plugins/panel/stat/types.ts +++ b/public/app/plugins/panel/stat/types.ts @@ -59,7 +59,7 @@ export function addStandardDataReduceOptions( name: 'Calculation', description: 'Choose a reducer function / calculation', editor: standardEditorsRegistry.get('stats-picker').editor as any, - defaultValue: [ReducerID.mean], + defaultValue: [ReducerID.lastNotNull], // Hides it when all values mode is on showIf: currentConfig => currentConfig.reduceOptions.values === false, });