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.
SOLVED

Keep first record for column based on unique other columns

hyost
6 - Meteoroid

I need my workflow to only keep the first value in the MDABC column for each unique MDCO and MDPRNO. In other words, for the attached image, I would only keep B because it is the most recent MDABC for MDCO 1 and MDPRNO AXV621DAT. I tried to complete a Multi-Row Formula (image also attached), but it is not working and is instead just returning the current MDABC code for each one. Could someone help me please?

2 REPLIES 2
rzdodson
12 - Quasar

@hyost here is one approach for you.

 

Solution.png

hyost
6 - Meteoroid

That worked perfectly! Thank you so much.

Labels
Top Solution Authors