There is a shapefile about facilities with columns "country"
and "annual production"
.
I am looking for an expression for a calc field to summarize total production for all countries.
For example: if a country has 5 facilities, I need to sum up each facility for the total production of this country.
Is there some expression to do that?