I want to label my feature as follows:
when ADRESSTATUS = Gehistoreeerd -> No labelwhen BUSNUMMER = Null --> HuinummerWhen BUSNUMMER is not NULL --> Huisnumer underlinedI keep getting an 'invalid expression' Can anyone see what's wrong here? Is there a beter way tot do this?
tl;dr:
return When( Adresstatus == "Gehistoreerd", null, IsEmpty(Busnummer), Huisnummer, !IsEmpty(Busnummer), `<UND>${Huisnummer}</UND>`, "Default value" )
A few pointers:
Thank you, Johannes!
I don't see where I have to put it:if (!IsEmpty(Busnummer)) {return + Huisnummer};
You are missing a ')' at the end of line 5.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.