[GIS] Categorization with multiple values- QGIS 2.18

fields-attributesqgis-2.18rule-basedstyle

I'm trying to represent 2 columns in polygon layer. I've tried to do it with the rule-based style but didn't understand how to do it. This is the attribute table of the polygon:

enter image description here

I've tried to use this expression:

enter image description here

but with no succses.

In ArcGIS I can do it with this option, so i can see in the legend both length and area data:

enter image description here

How can i do it in QGIS 2.18?

I also read:

but didn't find any suitable answer.

Best Answer

Well, if i understood your question the answers is this:

You have to use "GEOMETRY (AREA) || GEOMETRY (PERIMETER)".

Step_1 - Layer > Properties > Style > Categorized > E = Insert Expression ( AREA || PERIMETER)> ok... (In this step you can add more Geometry if you have in your table)

enter image description here

Step_2 - classify > apply > Ok...

enter image description here

Step_3 - Legend (On Layers Panel).

enter image description here

Related Question