KPI ยท console.warn
{n} KPI tile(s) are not on the tree and will not render: {ids}. Two tiles cannot share one path; a path names the tile's own place, last segment included.
Printed by KPI, prefixed [lattice], since 1.52.0.
Warnings reference › kpi:tree:unplaced
- Identifier
kpi:tree:unplaced- Raised by
- KPI
- Since
- 1.52.0
What happened
The tree was built and some tiles found no place on it, so they are not rendered at all. The usual cause is two tiles claiming the same path: a path identifies one tile, including its last segment, so a parent path and a child path cannot be the same string. The tiles are listed by id.
The fix
Give each listed tile a path of its own. A group heading is created by the paths beneath it and does not need a tile of the same name.
The smallest fix
tiles: [{ id: 'sales.emea' }, { id: 'sales.amer' }] // 'sales' is the heading
Reference
Covered in full at the API reference.