Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

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

need help in creating a formula

chay
7 - Meteor

Hi All,

 

Need your help in getting a formula for the attached excel in sheet 1 i have mentioned the input and output and in sheet 2 i have mentioned the requirement 

please check and help me in getting the formula for this 

8 REPLIES 8
Qiu
21 - Polaris
21 - Polaris

@chay 
It is pure data manulipating 😁

I made a quick sample for Step 1 and 2 and of course you can do something about the column name.
I tried to be more dynamic so adding or removing columns will not be an issue.

 

0706-Clay.PNG

chay
7 - Meteor

thankyou for the reply

chay
7 - Meteor

 

Actually i need this can you please help me with this 

step3 :

Run Total Sum - Plant 1 Run total of (Sum all plants- plant1)
Status 1 IF Run total of (Sum all plants - plant1) > Plant 1 then "High" else "Low" End

realdaniel1989
8 - Asteroid

AlteryxGui_gLIO8RBvj6.png

An alternative to what was given by Qiu.

chay
7 - Meteor

thankyou for the extension 

where as i need dynamic output 

like 

if i add Plant 4  then it should show status 4 the same way if I add new columns I need to get new status

 

can you please tell me how i can make this dynamically possible 

realdaniel1989
8 - Asteroid

Hey Chay, 

 

Here is the dynamic workflow as requested.  See if this meets your needs

 

 

realdaniel1989
8 - Asteroid

Hi @chay , 

 

If my workflow meets your requirement, could you accept my solution. 

 

Thanks

chay
7 - Meteor

thankyou so much daniel for the help 

Labels