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:
You are missing a ')' at the end of line 5.
I don't see where I have to put it:if (!IsEmpty(Busnummer)) {return + Huisnummer};
Thank you, Johannes!
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.