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

If statement

angelique_martin
7 - Meteor

Hi Alteryx Community,

 

I am trying to determine how to write this if statement to create a new column within Alteryx:

 

If there is one row for an agreement number and condition type =Y909 and scale_qty is null  then "growth Flat%". Also if there is one row for an agreement number and condition type =Y909 or Y917 then "Growth-Threshold". Please see below pictures of what I have versus what I want. Thank you in advance!

 

Current Outcome:

angelique_martin_2-1636740937988.png

 

 

Desired Outcome:

 

angelique_martin_3-1636740976431.png

 

 

 

1 REPLY 1
chuckleswk
11 - Bolide

You can use the following if formula using the attached flow. This produces the desired output but does not take into account if you have more than one Agreement_Num or if there is a Cond_Type other than Y909 or Y917.

 

IfStatement1.PNG

IfStatement2.PNG

  

Labels
Top Solution Authors