I try to use CASE expression in my data defined properties, like this:
CASE WHEN "ASULKM1999" > 100000 THEN 5 END
ASUKASLKM is population information and "5" will be size of point symbol. However, when I click ok/apply, QGIS will turn this expression to funny, like
CONDITION: - WHEN ASULKM1999 > 100000 THEN 5
And nothing happens. Sometimes result is "(no root)".
Is this a bug / feature or am I doing something wrong? Using QGIS 2.1 master on Win and Ubuntu.
Add some snapshots:
Start from here:
Define expression for Size-property:
Expression seems to be allright:
Click ok and then re-opening Data Defined properties:
Expression is quite odd: