3

I have this data that is a result of intersections and areal calculations. In the attribute table drawn below, you can see the column Kelurahan has many duplicates because the mean prices differ based on the area. So I calculated the price_weights to measure price against proportion of area.

How do I simplify this, like add all the price_weights for each specific Kelurahan and then have only single Kelurahans?

I want to have one string price_weight for Kelurahans. So there is one row of Ubo-ubo for instance and the price_weight value is 61048,775+141766,763+......

enter image description here

Please leave a comment if something is unclear.

1
  • Hi yes, that is exactly my question actually. I want to have one string price_weight for kelurahans. So the there is one row of Ubo-ubo for instance and the price_weight value is 61048,775+141766,763+...... Feb 29, 2020 at 2:21

1 Answer 1

3

It helps to use sum function. Open Field Calculator and run this expression:

sum( "price_weights", "Kelurahan" )

Result:

enter image description here

0

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.