I have a polygon and I create a new field
area_ha
using this expression in the field calculator:round( $area /10000,1)
When I use that field for my labels, everything is fine and works as it should work:
I create a new field, but this time a virtual field with the name
"area_ha_virtual_field"
. I use the same expression in the field calculator. The resulting value in the attribute table is fine. But when I want to use that new virtual field to label my blue polygon, it shows a totally different number than in my attribute table:Also, I get that same weird number as a label, when I use that expression in my labeling properties:
My CRS is 25832.
area($geometry)
instead of$area
?