I'm trying to get the value of a feature (the area) to use as label in the print composer, but I'm not getting much success.
This is the expression I'm using in the text label in composer:
attribute(get_feature_by_id ('POLIGONAL_FNHIS2008A_8babdf78_50dc_480f_b811_0da927b7c9a5',1),'area')
The program shows me this message: No feature was found on this layer to evaluate the expression.
But the image bellow contains the information about my layer I'm referring in the expression, showing the fields and the values. What am I doing wrong?