Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Designer Desktop Discussions

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

Remove periods and replace with nulls

hudg16
7 - Meteor

Hopefully a softball for you guys 

ECF_AMT
.  
.  
128.13

 

Null values are currently periods. How can I make these actually null without losing the decimal in my not null records?
cheers

5 REPLIES 5
JagdeeshN
12 - Quasar
12 - Quasar

Hi @hudg16 ,

 

Please find attached a sample workflow that does this.

 

The workflow uses the below formula to achieve what you have described:-

 

if Length([ECF_AMT])=1 and [ECF_AMT]='.' then null()
else [ECF_AMT]
endif

 

Do let me know if this resolves your query.

 

Best,

Jagdeesh Narayanan

hudg16
7 - Meteor

@JagdeeshN 

hudg16_0-1626989908307.png

 

I do not seem to have the same luck (disregard subsidy). I made sure the string type was exactly the same, any ideas?

JagdeeshN
12 - Quasar
12 - Quasar

Hi @hudg16 ,

 

Can you please share a sample workflow of what you have developed?

 

Best,

Jagdeesh

Hi @hudg16 

 

It seems that your data has trailing spaces. Could you please try the below? You can then use Select to make sure everything is coming thru as number. Hope it helps. Cheers!

 

christine_assaad_0-1626995343213.png

 

hudg16
7 - Meteor

@christine_assaad 
Duh !! thanks!

Labels
Top Solution Authors