With QGIS >=2.16, it is possible to use aggregates in expressions, such as
sum, average... etc.
But when I use it to create a new virtual field using the field calculator,
the newly created field value is null for all of the layer's entity.
Am I doing it wrong ? Or it is a bug, or a known limitation ( found nothing
on the web, qgis doc and in the qgis bug tracker ) ?
( I posted a duplicate of this question on gis.stackexchange :
Qgis-user mailing list
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user