Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
解決済み

How to format a column into numbers but ignore any strings?

richleeb2
アステロイド

I have a column with numbers but they are in a scientific format.  Also in the same column I have N/A and numbers with a decimal.  How do I format this column to have all regular numbers but ignore the N/A?

 

1.25468233E8
15447.0
1.17894576E8
N/A
 
6件の返信6
Qiu
21 - Polaris
21 - Polaris

@richleeb2 
For the scientific format, we can use a Text to Columns tool.

1025-richleeb2-1.PNG1025-richleeb2-2.PNG

richleeb2
アステロイド

Thanks, I tried this, but this removed all of the N/A's from the output

Qiu
21 - Polaris
21 - Polaris

@richleeb2 

YOu mean still want the "N/A"?

Just Union Data steam from "F" anchor of first Filter tool.

binuacs
ポラリス

@richleeb2 One way of doing this

 

binuacs_0-1666694682723.png

 

DataNath
キャスター

@richleeb2 this can be handled with a formula tool like so. We just perform a check to see if the record = N/A. If it is, we leave it as is and if not, we convert it as you wish:

 

DataNath_0-1666695034046.png

richleeb2
アステロイド

Thank you, this is the most simple and it worked!

投票
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
ラベル