I have data with a column containing a number value, and I want to divide the value of each feature by the total sum of all the values in the column (to get a percentage).
So I would like to know if there is some simple syntax in the QGIS field calculator to get the sum of a column, preferably without resorting to for loops and what not.
I have a shapefile where feature A has the value X in column B. How can I summerize the values for all features in column B in order to divide value X to get a percentage for each feature?