Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Delete the negative numbers and convert numbers to string

patrikfrid
8 - Asteroid

Hi,
anyone that can help me with a little flow that shall first delete the negative numbers and the 0 (0 and less to be exact) then I want the remaning numbers to be converted to the string "yes".

I have attached and excel file with both negative and positiv numbers in the column called "Stock"

2 REPLIES 2
MarqueeCrew
20 - Arcturus
20 - Arcturus

@patrikfrid ,

 

You'll first want to use a SELECT tool and modify or ensure that the STOCK field is a STRING or V_String.

 

IIF(ToNumber([Stock]) <=0,Null(),"yes")

Cheers,

 

Mark

 

 

 

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
patrikfrid
8 - Asteroid

Thanks @MarqueeCrew that did the job.

Labels
Top Solution Authors