Alteryx Designer Desktop Discussions

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

Group By Main Contract

CiaoPaola
7 - Meteor

Hi, 

My table contains Contract Ids, Contract Date and Account ID. 

I want to know if an account has more than one contract

if this is the case, the latest one should be flagged as 'Main Contract', 

If the account has only one Contract, then this contract should be flagged as Main.

 

I presume the GroupBy tool should help me but I have no clue how to proceed. 

could anyone help me? 

thank you 

 

CiaoPaola_0-1624371945883.png

 

 

2 REPLIES 2
DawnDuong
13 - Pulsar
13 - Pulsar

Hi @CiaoPaola 

Try if this works for you.

Flag contracts.PNG
Dawn.

CiaoPaola
7 - Meteor

this is just splendid DawnDuong! 

the Multi Row Formula tool is still weird to me but I will practice. 

thank you 

paola

Labels