KPI ยท console.warn
kpi: tile "{id}" has delta: {value}; expected one of {list}. Falling back to 'both'.
Printed by KPI, prefixed [lattice], since 1.68.0.
Warnings reference › kpi:delta:*
- Identifier
kpi:delta:*- Raised by
- KPI
- Since
- 1.68.0
What happened
A tile's delta option was not one of the modes that decide how the change against the previous value is shown. The tile renders with 'both' - the absolute change and the percentage - which is what every panel did before the option existed, so the display is not broken, only not what was asked for.
The fix
Set delta to one of the modes in the message, or leave it out for both.
The smallest fix
tiles: [{ id: 'orders', aggregation: 'count', delta: 'relative' }]
Reference
Covered in full at the API reference.