Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Negative values to zero

neromerob
10 - Fireball

Hello to everyone. 

 

I´m looking for a way to change multiple negative values to zero that are present in different fields. 

 

negative_to_cero.JPG 

 

thank you. 

 

 

 

 

4 REPLIES 4
DataNath
17 - Castor

Hey @neromerob, you can do this with a Multi-Field Formula like so:

 

DataNath_0-1655912733169.png

 

DataNath_0-1655912672996.png

 

IraWatt
17 - Castor
17 - Castor

Hey @neromerob,

you can use a multi field formula:

IraWatt_0-1655912783988.png

Any questions or issues please ask :)
HTH!
Ira

 

MarqueeCrew
20 - Arcturus
20 - Arcturus

@neromerob ,

 

You've got two (2) replies from @IraWatt  and @DataNath already, but I'll add a third.  I read your post with a slightly different function in mind.  The smallest number (value) that you want present in your data is zero (0).  This logic is easy to implement with:

 

MAX([_CurrentField_],0)

 

You'll find more uses for this later in your Alteryx life.

 

Cheers,

 

Mark

Alteryx ACE & Top Community Contributor

Chaos reigns within. Repent, reflect and restart. Order shall return.
Please Subscribe to my youTube channel.
DataNath
17 - Castor

Every day is a school day! Wasn’t aware of that option, cheers @MarqueeCrew!

Labels