Say I have a table with columns: Item | Cost | Quantity | Total
How would I group rows by items, and THEN calculate the combined Cost and Quantity?
Example:
row1: Bike, $100, 1, $100
row2: Bike, $100, 2, $200
row3: Tire, $30, 1, $30
Would be combined like this (since there are two Bike items, we combine them and get the new total):
row1: Bike, $100, 3, $300
row2: Tire, $30, 1, $30
Is this easier to implement in AL or in an SSRS report builder? I am ultimately trying to display this table in a report.
Thanks!