Aggregation comprising of multiple fields

Is there a way to find aggregated values based on more than one fields for example average of difference of two integer fields of a document?

I don't believe there is at this stage.