I'm trying to solve the problem I've raised in Copying graduated scale from polygon to point layer in QGIS?

I've rearranged the attribute table that looks like this:

enter image description here

Important to notice is that the field "gruppo" is composed by 2 unique attributes: "campione" and "controllo".

What'd like to do now is to create a graduated symbology based on an attribute (say "pcb_101") and use the quantile classification.

BUT I need that each class of the quantile classification is based only of the "campione" rows of the "gruppo" field.

I tried to use the rule renderer but I noticed that, even if I add the rule "gruppo" = 'campione' and add intervals to this rule, the calculation of the quantiles is made using the whole "pcb_101" field.

1 Answer 1



  1. setting "gruppo" = 'campione' in General | Query.
  2. Then do the classification.
  3. Then remove the query again.

Hacky, but might work.

  • Sorry for the delay.. The trick works..
    – matteo
    Oct 10, 2015 at 11:34

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.