Let’s talk Alteryx Copilot. Join the live AMA event to connect with the Alteryx team, ask questions, and hear how others are exploring what Copilot can do. Have Copilot questions? Ask here!
Start Free Trial

Alteryx Machine Learning Discussions

Find answers, ask questions, and share expertise about Alteryx Machine Learning.
Getting Started

Start your learning journey with Alteryx Machine Learning Interactive Lessons

Go to Lessons

IF formula help

MaPurohit
5 - Atom

Hi all,

 

Hope you are doing well.

 

Can anyone help me with the formulas below in Alteryx design, please?

 

As I am new to Alteryx I tried my level best to find a possible way. 

 

=IF(B8>15%,((K8+L8+M8+N8)/B8*15%)-SUM(K8:N8),0) ,

=IF(AG5>0,IF(AI5<15,15-AI5,0),0)

=IF(AG5-AV5>0,IF(AI5<15,AG5-AV5,0),0)

 

I am not able to find any possible way to solve it.

 

Thanks in advance

1 REPLY 1
martinding
13 - Pulsar

Hi @MaPurohit,

 

In Alteryx, the If statements uses the following syntax:

 

IF conditon

THEN action

ELSEIF condition

THEN action

ELSE action

ENDIF

 

For example:

IF [Column1] > 20

THEN 'High'

ELSEIF [Column1] > 10

THEN ‘Mid'

ELSE 'Low'

ENDIF