0

is it possible to have more than one ELSE in the CASE WHEN statement in the Expression builder in QGIS?

For example:

CASE WHEN "population" > 5000
THEN 'big'
ELIF WHEN "population" > 1500
THEN 'medium'
ELSE 'small'
END

I know that this piece of code is totally wrong, but I'm not able to find an equivalent of ELIF..

Some ideas? Am I looking at the problem in the wrong way?!

0

Ok guys, I'm sorry..

The equivalent of ELIF is WHEN.

This question has been already answered here.

Sorry for the noise.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.