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

Multi Field Formula

Meiye
7 - Meteor

Hi everyone,

 

I'm so frustrated by this issue... I use the Multi-Field Formula tool to set selected field to 0s based on the simple function below: 

 
 
 

IF [Total EP]+[Exclude]>0 THEN [_CurrentField_]=0 ELSE [_CurrentField_] ENDIF

 

but it sets the current fields to -1 where the condition is met (attached). I also tried not using [_CurrentField_] but use the specific columns, also tried using the formula tool for one column at a time, but it stills shows -1?? why?

 

Appreciate any insight...

Meiye

 

 

1 REPLY 1
ed_hayter
13 - Pulsar

Hi @Meiye

Try setting the THEN Result to 0 ELSE [_CurrentField_] in this case the current field value does not need to be specified for the result.

 

I used:

IF [Exclude] + [Total EP] > 0 then 0 ELSE [_CurrentField_]
ENDIF

Labels
Top Solution Authors