I have a point layer and would like to label it. I would like to create the label from the "brts" column. This column contains digits. Several objects can have the same value in this column. If two objects have the same value, only one object should be labeled.
I have already tried it with an expression for the label value:
CASE
WHEN count(1, "brts") > 1 THEN ''
ELSE "brts"
END
With this, however, only the objects with a double value in the "brts" column are no longer labeled at all. How should I complete the expression so that only one of the affected objects is labeled?
I am using QGIS version 3.28.15LTR