I have a vector layer with an attribut called "value". To make the explanation easier, we can say that "value" goes between 0 and 100.
I can't find a way the calculate a new attribute called "effect" in expression panel for something like that:
CASE
WHEN "value" is under the 20% lowest possible value THEN 'Very low'
WHEN "value" is between 20-40% lowest possible value THEN 'Low'
WHEN "value" is between 40-60% lowest possible value THEN 'Medium'
WHEN "value" is between 60-80% lowest possible value THEN 'High'
ELSE 'Very high'
END
So as you can see, I have a problem to find a way to do "value" is between x-y% lowest possible value
.