KPI ยท console.warn
config.fields names `{field}`, which is not a column on the bound grid - check it against the grid's column ids.
Printed by KPI, prefixed [lattice], since 1.54.0.
Warnings reference › kpi:no-column::*
- Identifier
kpi:no-column::*- Raised by
- KPI
- Since
- 1.54.0
What happened
One of the names in fields is not a column of the bound grid. Nothing is projected for it, so any tile filter or custom aggregation that reads it sees undefined. The rest of fields is projected normally.
The fix
Correct the name, or drop it. Column *ids* are what the panel matches against, not header titles.
The smallest fix
createKPI(el, { grid, fields: ['region'], tiles });
Reference
Covered in full at the API reference.