designer ยท console.warn
designer.addDerivedStep: {step} is not a fil...
Printed by designer, prefixed [lattice], since 1.89.0.
Warnings reference › designer:derived:step:*
- Identifier
designer:derived:step:*- Raised by
- designer
- Since
- 1.89.0
What happened
A derived grid's steps are filter, group, pivot, join, sort and topN. The step given named none of these, or was malformed, so it was refused and the grid was left as it was.
The fix
Give a step whose kind is one of filter, group, pivot, join, sort or topN, with the fields that kind needs.
The smallest fix
designer.commands.run(addDerivedStep, id, { kind: group, by: rep, measures: [{ of: amount, fn: sum }] });
Reference
Covered in full at the API reference.