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

I think I would use the multi-row formula tool with multiple conditions? Thanks in advance

bh1789
8 - Asteroid

2025-04-16_AlteryxCommunityQuestion.png

5 REPLIES 5
caltang
17 - Castor
17 - Castor

Yes, you are on the right track.

 

image.png

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
abacon
12 - Quasar

@bh1789  Throw this formula in a multi row tool after sorting on ID - 'IF ([Row-1:ID] = [ID] AND [Row-1:Date] != [Date] AND [Row-1:Type] = [Type]) OR [Row+1:ID] = [ID] AND [Row+1:Date] != [Date] AND [Row+1:Type] = [Type] then 'Match' else 'No Match' endif'. That should do it for you.

binuacs
21 - Polaris
bh1789
8 - Asteroid

Thank you for your assistance!  However, the 'Match' is only coming through on the first line, but not the second line.  Do you have suggestion as to how to fix that?  Thank you

bh1789
8 - Asteroid

Thank you, your solution worked for me.

Labels
Top Solution Authors