I'm using QGIS 3.16 Hannover and I've got a vector layer of provinces with animal species names as attributes. If the species has been detected in the province, the value of the attribute is X
; if there are breeding records, the value is R
; otherwise the value is NULL
.
I'm producing a map for each species and I'm using the categorized layer style for displaying the provinces where the species is present. Is there a way of automatically display the selected attribute name (i.e. the species) in the print composer?