I want to create a new (third) column in my attribute table. The fields of the new column are supposed to be the summarised value of the two other columns' fields. For example field 1 of the column I want to create is suppose to have the value 901 (663+238) and so on (se pic)

enter image description here

What function in the field calculator should I use and how do I write the expression?

It mostly seems to summarise the two columns and not the separate fields.. I'm not looking to use GROUP STATS or similar, but the field calculator only. I'm working with QGIS 2.18.15 on a Mac.

1 Answer 1


If your 2 fields are numeric (and not text), you can simply use the expression "BARN0_3_SU" + "BARN4_6_SU".

  • You're welcome! If this answer helped you, please mark it as "accepted" by clicking the green checkmark next to answer score.
    – ArMoraer
    Apr 19, 2018 at 8:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.