thanks for u r replys for cummulate the quantity.
but collect only will cumulate the quantity where non numeric values match. but my example contains numeric and non numeric unique fields.
what is the other solution for this.