Custom summary in columns for individual row groups can be displayed with help of custom aggregates by extension of pq.aggregate object.

It can be used in columns by adding it to column.summary.type property.

In this example, custom summary "all" is defined and used in Freight column.