The grid (core) ยท console.warn
the profile of column "{colId}" is refused: ...
Printed by The grid (core), prefixed [lattice], since 1.126.0.
Warnings reference › stat.secret:profile:*
- Identifier
stat.secret:profile:*- Raised by
- The grid (core)
- Since
- 1.126.0
What happened
statistics.profile() was called on a secret column. A profile reads the values themselves - its commonest-values pass over a categorical column is the raw list - so null is returned rather than expose the hidden values.
The fix
Profile a different column; for a secret column use statistics.reduce() with count or countValues.
The smallest fix
grid.statistics.reduce('apiKey', 'countValues');
Reference
Covered in full at the API reference.