Alteryx Designer Desktop Discussions

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

XLOOKUP with multiple criteria and Earliest and Latest Date

Chinmay_Pednekar
5 - Atom

Hi There!

 

I Have 2 datasets

 

Dataset 1: It gives me an exhaustive set of portfolio companies of a certain set of investors. One investor can invest in multiple companies and Multiple Investors can invest in same company Eg. C3, C1

InvestorIDCompanyIDOther fields.....
I1C1 
I1C2 
I1C3 
I1C4 
I2C3 
I2C5 
I3C6 
I4C7 
I4C1 

 

Dataset 2:Gives me a set of investment deal details of all investments made by investments made by investors in companies. One investor can make multiple investment in a company

Investor IDCompanyIDDealIDDeal Date(MMDDYYY)Other Fields
I1C1

D1

1-1-2021 
I1C2D21-2-2021 
I1C3D31-3-2021 
I1C4D41-4-2021 
I2C3D51-5-2021 
I2C5D61-6-2021 
I3C6D71-7-2021 
I4C7D81-8-2021 
I4C1D91-9-2021 
I1C1D101-10-2021 
I1C2D111-11-2021 

 

Desired Dataset

Investor IDCompanyIDEarliest Deal DateLatest Deal Date
I1C11-1-20211-10-2021
I1C21-2-20211-11-2021
I1C31-3-20211-3-2021
I1C41-4-20211-4-2021
I2C31-5-20211-5-2021
I2C51-6-20211-6-2021
I3C61-7-20211-7-2021
I4C71-8-20211-8-2021
I4C11-9-20211-9-2021

 

Would be great if you could please help me with this. 

 

Thanks in Advance. 

 

Best,

Chinmay

1 REPLY 1
L_T
8 - Asteroid

Hi @Chinmay_Pednekar 

 

The attached workflow should help. 

 

Let me know if you have any questions 

Labels