Ability to change aggregation function per value