I have a shapefile attribute table in QGIS that I would like to calculate the cumulative sum. The thing is that it has over 1.5 million features.
Type of device: HDD.
The attribute table looks like this:
I have tried to calculate in a new field the cumulated sum for
"Equitativo" like this:
with_variable( 'ID_FINAL', ID_FINAL, sum(Equitativo, filter:=ID_FINAL<=@ID_FINAL) )
The problem is that is taking way too long (it's running for 17 hours now). How could I make this faster way?