David Strip-4 wrote > aggregate( 'B','sum', "Confirmed", "Country_Region" > ILIKE attribute($currentfeature, 'SOVEREIGNT'))
Hi David, in the filter the source feature can be accessed with the variable @parent https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/functions_list.html#aggregate aggregate( 'B','sum', "Confirmed", "Country_Region" ILIKE attribute(@parent, 'SOVEREIGNT')) Regards. Andrea -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user