Alteryx Designer Desktop Discussions

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

Adding value in a NULL \ empty cell

sahartz
8 - Asteroid

Hi,

 

I have a Null\empty cell that I want to replace with "Original.Due.Date" (only the first Null line).

Can someone let me know how I can edit only this cell (and not the other Null cells I have down the list)?

sahartz_0-1622127826204.png

 

Thanks,

Sahar

 

3 REPLIES 3
Luke_C
17 - Castor

Hi @sahartz 

 

EDIT: Missed the requirement for only the first null cell. @messi007 's solution probably accounts for that way better.

 

A formula tool and if statement should do the trick. In the formula tool you select the existing corrective action column. The if statement will check if the value for each row is empty (IsEmpty will check for both nulls and empty values), and replace it if that condition is true, otherwise it remains the same.

 

if isempty([Corrective Actions5])
then [Original.Due.Date]
else [Corrective Actions5]
endif

 

Luke_C_0-1622128169098.png

 

messi007
15 - Aurora
15 - Aurora

@sahartz,

 

Please see below

 

messi007_0-1622128462403.png

Attached the workflow,

 

Hope this helps

Regards

sahartz
8 - Asteroid

Thanks!!!! Your solution is great if I had only 1 line with Null but I have additional Nulls so I cannot use this solution 

Labels