AnsweredAssumed Answered

Arcmap Python Label Expression Function "Null"

Question asked by EscondidoAnalyst on Nov 2, 2016
Latest reply on Dec 7, 2016 by EscondidoAnalyst

I am having difficulty with python parser label function to replace null values with "Unknown Plan" and leave everything else as is. The Unknown Plan is not displaying in the map label.


I have the following:

def FindLabel ( [PLAN] ):
    if  ([PLAN]) is  None:
         return "Unknown Plan"
        return [PLAN]


Any idea it is not working ?