Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
RÉSOLU

IfNull still a function?

Macon
Météore

I just updated Alteryx Designer to 2023.1.1.123 from the last 2022 version and now my workflows with IfNull() no longer recognize IfNull() as a function.  Did that function go away?

  • Bug
8 RÉPONSES 8
alexnajm
17 - Castor
17 - Castor

I have 2022.3 installed and I don't see an IfNull() function. You can do IF IsNull() or IF [column]=Null() if that helps!

rzdodson
Quasar

@Macon you can also do something like:Formula with Blanks.PNG

Macon
Météore

thanks!  I'm definitely re-working my ifnull() statements to be if Isnull() then foo else bar endif.  but IfNull(foo,bar) is SUPER handy and I'm bummed it went away.

Macon
Météore

but I'm also super interested to know from any offical Alteryx peeps if it was deprecated or not.  

alexnajm
17 - Castor
17 - Castor

Where do you see ifnull on 2022.3? Can you send a screenshot?

Macon
Météore

huh.  maybe I downloaded it as a 3rd party built function?

 

Macon
Météore

thanks @alexnajm! I see now that it was part of a set of utility functions that I'd downloaded and when I installed the new version (in a new place) it didn't have access to those utilities.  

https://github.com/jdunkerley/AlteryxFormulaAddOns/blob/master/README.md

Rana_Kareem
Comète

Hi @Macon ..

 

You can use this expression:

 

IIF(IsNull([Field Name]), x, y)

 

Étiquettes