that did it. Does that mean that attribute(@parent, ...) is the value of the attribute for the feature for which the attribute is being calculated?David Strip-4 wroteaggregate( '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#aggregateaggregate( 'B','sum', "Confirmed", "Country_Region" ILIKE attribute(@parent, 'SOVEREIGNT'))
And what does $currentfeature mean? Is it evaluated to the current feature of Layer B, not A?
_______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
