When I take these two documents ( provided in Screenshot) result is fine. But if I take more documents for the same vendor , result is incorrect . Surprisingly document 3121 is giving problem in the second case. No Clue.
By the way, are you adding DOC_NUM both as Characteristics and as an Aggregated Column ?
What's the reason for that ?
Regards
Anindya