How to process group of records in data table once instead of individually?

have a look here: