Let's say I have two layers with the following attributes:
Layer A - SOVEREIGNT, Field2, Field3, ...
Layer B - Country_Region, Confirmed, ...

I want to aggregate the Confirmed field of Layer B into Layer A.
I try to create a virtual field in Layer A with the _expression_
     aggregate( 'B','sum', "Confirmed", "Country_Region"  ILIKE  attribute($currentfeature, 'SOVEREIGNT'))
but the value is always zero.

What am I not understanding?
Thanks

David



_______________________________________________
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

Reply via email to