2

QGIS attributes

How to sum all 'Luas_sawah' attributes in accordance with the 'Kabupaten' attributes?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338

1 Answers1

2

In the field calculator, try sum() function (it can be found under Aggregates group).

 sum( "Luas_sawah", group_by:= "Kabupaten")

It returns the sum of "Luas_sawah" field according to the "Kabupaten" group.

enter image description here

Kazuhito
  • 30,746
  • 5
  • 69
  • 149