I have a label formula in QGIS that shows the name of a polygon and the remaining km of survey left to do:
"Name" || '\n' || round("Length_km_sum", 2)
But when I have an area that is complete (i.e. length_km value for the polygon shows as NULL
) I would like for the label to show 0
or 'Complete'
.
Right now if the value is NULL
the label doesn't even show on the map.
coalesce
function? try:"Name" || '\ n' || coalesce (round ("Length_km_sum", 2), 0)