Having a building table, grouped by an
id and its respective amount of apartments. I want to label every symbol id on map composer legend with the amount of apartments.
For a simple expression
'apartments', nothing appears regarding amount of apartments neither any field inserted on expression.
I think issue comes because table has building level and all values regarding symbol id are repeated for the buildings are grouped on each id.
Even for repeated amounts I have written the expression:
concat( @symbol_label, ': ',apartments) which avoid any repeated value and is not working. Legend appears as in the image from above. Is weird because on expression window the expression returns value (