Summarizing or merging duplicate lines with cumulative "Quantity" value
Posted: Thu Dec 27, 2018 8:28 pm
Hello,
I'm very new to Stimulsoft and I have a reporting need that I can't figure out. I often look up the solution to figure it out on my own, but either my wording is wrong, or I just haven't found the solution yet.
I am building a report that shows transactions by employee and i'm looking to summarize duplicates. I've set the GroupHeader to sort by employee so it groups them accordingly. Below is similar to how my Databand is set up to give some visual perspective.
ID -- Employee Name -- Item ID -- Customer Item ID -- Item Description -- (Issue) Type -- Quantity
So what I am looking to do is instead of it showing multiple instances of the same employee issuing the same item, is to merge the lines and have the "Quantity" increase to match the total value. So if "Tim" issued item "12345" 5 times, it would only show this instance once with the Quantity value of 5.
Please also note, some items may issue more than 1 quantity per instance, so I need to summarize those values.
I'm very new to Stimulsoft and I have a reporting need that I can't figure out. I often look up the solution to figure it out on my own, but either my wording is wrong, or I just haven't found the solution yet.
I am building a report that shows transactions by employee and i'm looking to summarize duplicates. I've set the GroupHeader to sort by employee so it groups them accordingly. Below is similar to how my Databand is set up to give some visual perspective.
ID -- Employee Name -- Item ID -- Customer Item ID -- Item Description -- (Issue) Type -- Quantity
So what I am looking to do is instead of it showing multiple instances of the same employee issuing the same item, is to merge the lines and have the "Quantity" increase to match the total value. So if "Tim" issued item "12345" 5 times, it would only show this instance once with the Quantity value of 5.
Please also note, some items may issue more than 1 quantity per instance, so I need to summarize those values.