Mac OSX 10.6.8 QGIS 1.8.0 : I've two columns in the attribute table, name, and name2 for those labels that need to be 2 lines; multiline labelling is checked. But when I use "name"||'\n'||"name2" I only get labels when there is a printable entry for both name and name2. Can you spot what I'm missing to show the 2nd line only for labels that need it?
Thats possible only with QGIS Master at the moment:
"Strecke" || '-n' || CASE WHEN length( "Kilometer" ) > 0 THEN "Kilometer" ELSE ' ' END
You don't have the CASE statements in Lisboa.