There are 2 types of auto summaries:

The summary or aggregate type can be chosen by the end user by editing the summary cells.
Custom aggregates can be written by adding methods to pq.aggregate.