Skip to main content
added 88 characters in body
Source Link
Taras
  • 35.8k
  • 6
  • 77
  • 152

Use QGIS expressions with the aggregate function sumsum(), grouping it by the common part of the CFSAUID"CFSAUID" attribute. For this, define an expression that returns this common part, here returning the first two characters with left (CFSAUID, 2).

So the whole expression looks like:

sum (value, group_by:= left =left(CFSAUID,2))

enter image description here

Use QGIS expressions with the aggregate function sum, grouping it by the common part of the CFSAUID attribute. For this, define an expression that returns this common part, here returning the first two characters with left (CFSAUID,2).

So the whole expression looks like:

sum (value, group_by:= left (CFSAUID,2))

enter image description here

Use QGIS expressions with the aggregate function sum(), grouping it by the common part of the "CFSAUID" attribute. For this, define an expression that returns this common part, here returning the first two characters with left (CFSAUID, 2).

So the whole expression looks like:

sum(value, group_by:=left(CFSAUID,2))

enter image description here

Source Link
Babel
  • 80.2k
  • 15
  • 97
  • 245

Use QGIS expressions with the aggregate function sum, grouping it by the common part of the CFSAUID attribute. For this, define an expression that returns this common part, here returning the first two characters with left (CFSAUID,2).

So the whole expression looks like:

sum (value, group_by:= left (CFSAUID,2))

enter image description here