I've been trying in vain to use the field calculator in QGIS 2.8 to count the combinations of two attributes in two separate columns.
First column is called "Alds_klass"
and second is called "bygn_klass"
. I want to count the different combinations of the two columns, not the sum, but the number of each combination.
Best Answer
If you're ready NOT to use the field calculator i would create a virtual layer based on the following query (to adapt) :
Which would be "dynamic" ...
(implies to use a newer QGIS version...)