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.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.