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

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