[Qgis-user] How to filter expression in aggregate
Andrea Giudiceandrea
andreaerdna at libero.it
Sun Mar 14 16:28:52 PDT 2021
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
More information about the Qgis-user
mailing list