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.

Replicate MINIFs function in Alteryx

Andrew_Seaman
6 - Meteoroid

I am given Column A and B in the below image and need to generate column C using Alteryx,

 

Andrew_Seaman_0-1626202618896.png

 

The logic for column C is to return a Y on the minimum value in B for each unique key in column A.  

 

I can create this using a minifs function in excel, and was trying to use a summarize tool to get this done.

 

1 REPLY 1
apathetichell
20 - Arcturus

attach a summarize tool. group by Key min Qtr. Then join back to your datastream on Key and Qtr. the data coming out of your join tool are the key's with min value for qtr.

 

OR. sort by both columns ascending. tile tool unique value on [key] the first tile sequence num (ie [tile sequence num] =1) will be the minimum value.

Labels
Top Solution Authors