Start Free Trial

Alteryx Designer Desktop Discussions

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

Replace empty string with zero

SH_94
11 - Bolide

Dear community, 

 

I have the data as below whereby the element column is in V-string format and Sum_Quantity-IN is in double format. I would like to replace those empty field in the element column with zero. May i know how can i do that ? 

SH_94_0-1656992510766.png

 

Many thanks for the help.

2 REPLIES 2
grazitti_sapna
17 - Castor

@SH_94, you can use the formula tool and write the given formula.

 

If isnull(Element) or isempty(Element) then "0" else Element endif.

 

grazitti_sapna_0-1656993551736.png

 

 

I hope this helps!

 

Thanks!

Sapna Gupta
flying008
15 - Aurora

Hi,@SH_94 

 

So easy of the formula for your need.

 

tonumber([Element])

 

Labels
Top Solution Authors