Actually I am using Geometry Generator and a small script for displaying duplicate values in the data. But some duplications are not highlighted. Don't know why its happening. can any one suggest any solution for that.
Script using:
if (
"name" =
attribute (
get_feature_by_id (
@layer,
array_first (
overlay_nearest( @layer, $id)
)
),
'name' ) ,
$geometry,
'')