I'm trying to label visited countries in a world map shapefile, what is wrong with my rule :
if( "Visited" = 'yes', "NAME", NULL)
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
Your formula goes to "label with" ... not in the "filter" field ...
As alternate solution, instead of using rule-based labelling, you can put your formula in the normal labelling field like below.