In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to Make "0" in a row = "1"

DigitalAdam
6 - Meteoroid

Hi all,

 

I feel extremely stupid asking this question but here goes. 

 

I am trying to replace "0" in my rank column and make it showcase as "1". 

 

I know this will create duplicate 1s, however I am trying to make both = to 1 and then i will join them together. 

 

I'm currently trying a multi row formula with an if statement, IF [RANK] = 0 THEN [RANK] = 1 ELSE [RANK] ENDIF, however no luck. 

 

Any ideas? I feel like I've tried everything. 

1 REPLY 1
Luke_C
17 - Castor
17 - Castor

Try this IF [RANK] = 0 THEN 1 ELSE [RANK] ENDIF

 

I just updated your then clause. Also, you can just use the normal formula tool, no need for multi-row since it's referencing the same row. 

Labels
Top Solution Authors