Edit - I forgot that I had posted this until I was searching for information on this.
I have 2 land type layers (soil, vegetation types etc), one of the layers shows the land types for entire paddocks while the second layer shows only the land types in the paddock within a certain distance of water. What I want to do is have both layers with the same symbology but displaying different labels containing the land unit, land unit description and the total area of the land unit. Obviously the total area would be different between layers.
Further edit:
As an example based on the picture below, I would like to catagorise based on the first part of the text string eg "De" or "Bs-1" so that all layers have the same symbology regardless of their different areas.
I would then like to create the category descriptions with an expression similar to: 'MAPUNIT' || " - " || 'DESCRIPTION' || round(sum('AREA', 'MAPUNIT'), 2))
I'm wondering if it is possible to categorise layers in QGIS using one expression but label it using another? I have several layers based on the same dataset but clipped so they have different areas. I want to categorise them so the symbology matches between the layers but label the categories with the areas as well.
At the moment I am using the same expression for each layer but have to manually change the category colours to match.
In ArcMap, I used the advanced symbol legend label tool from maplogic for the this.
An example of what I'm doing. The colours and description stay the same but the area change based on buffered areas. I'm using an expression to categorise the layers e.g. 'MAPUNIT' || " - " || 'DESCRIPTION' || round(sum('AREA', 'MAPUNIT'), 2))