AggregatedColumn Process

This example shows the usage of AggregatedColumn process

itemcost
Machines $50,000
Human Resource $60,000
Materials $100,000
Others $80,000

->pipe(new AggregatedColumn(array(
    "total_cost"=>array("sum","cost"),
    "average_cost"=>array("avg","cost"),
    "min_cost"=>array("min","cost"),
    "max_cost"=>array("max","cost"),
)))
itemcosttotal_costaverage_costmin_costmax_cost
Machines $50,000 $290,000 $72,500 $50,000 $100,000
Human Resource $60,000 $290,000 $72,500 $50,000 $100,000
Materials $100,000 $290,000 $72,500 $50,000 $100,000
Others $80,000 $290,000 $72,500 $50,000 $100,000
Description