The grid (core) ยท console.warn
column "{id}" has `group.explode`, so rows appear under each of their values and totals double-count. Group footers should be annotated accordingly.
Printed by The grid (core), prefixed [lattice], since 1.0.1.
Warnings reference › explode:*
- Identifier
explode:*- Raised by
- The grid (core)
- Since
- 1.0.1
What happened
Exploding a multi-value lookup places each row under every one of its values, so a row with three tags appears in three groups. That is what the option is for, and the arithmetic consequence is unavoidable: every total that spans those groups counts the row more than once. Nothing is refused; the double counting is named so that a footer showing it can be labelled.
The fix
Nothing, if the multiple placement is what you want - but annotate the group footers so a reader knows the totals overlap. Drop group.explode if you need totals that add up.
Reference
Covered in full at the API reference.