Hello Angela,
To achieve the result you are expecting, we need to create three formulas in the query with exception aggregation.
- Forumal 1 - COUNT( amount) Exception Aggregation - Counter for All Detailed Values Ref. Characteristic - SubItem No.
- Formula 2 - Reference Formula 1 with Exception Aggregation - Counter for All Detailed Values Ref. Characteristic - Item No.
- Formula 3 - Reference Formula 2 with Exception Aggregation - Counter for All Detailed Values Ref. Characteristic - Document Number
Thanks,
Arun.