Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Creating Null Values in Number Fields

sbaker
8 - Asteroid

I would like to make line graphs dead-end by changing 0 to Nulls in Double fields. The following function returned -1, instead of Null (the function does correctly return 0 when I replace Null with 0). Is it possible to convert to Nulls or Blanks in Number fields?

 

IF [JTD_RemainingUnits]>0
THEN [_CurrentField_] 
ELSE [_CurrentField_] = Null()
ENDIF

 

1 REPLY 1
JohnJPS
15 - Aurora

Hi @sbaker

I believe it's returning the truth value of [_CurrentFIeld_] = Null(), which is -1.

Try the following:

IF [JTD_RemainingUnits]>0
THEN [_CurrentField_] 
ELSE Null()
ENDIF

 

Labels