Free Trial

Alteryx Designer Desktop Discussions

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

Two criteria lookup and fetch result

Srinivasan_C
5 - Atom

Hello All,

 

This is my first question into the community. I am very new to Alteryx and trying to find if I can solve my complex business data analysis issues.

 

I want to search based on persons entry date and find the applicable license number as result. Attached file has the example. Please help me with this question. Thanks in advance.

 

Table 1 
NameDate of Entry
A3/15/2015
B6/30/2017
C7/15/2015
D7/17/2015
E1/2/2016

 

Table 2   
    
NameLicense NumberValid FromValid To
AG5693241/1/201512/31/2015
AJ5648521/1/201612/31/2016
BA2354851/1/201612/31/2016
BV5648751/1/201712/31/2017
CH1564871/1/201512/31/2015
CL7854121/1/201612/31/2016
DI8624571/1/201412/31/2014
DW7412351/1/201512/31/2015
EQ6584231/1/201512/31/2015
ET1296541/1/201612/31/2016

 

Result should be 
NameDate of EntryLicense Number
A3/15/2015G569324
B6/30/2017V564875
C7/15/2015H156487
D7/17/2015W741235
E1/2/2016T129654
4 REPLIES 4
PhilipMannering
16 - Nebula
16 - Nebula

Hey there,

 

The usual way to solve these problems is to generate all the dates and join. Check the attachment.

 

PhilipMannering_0-1590143791205.png

 

 

Thanks,

Philip

RolandSchubert
16 - Nebula
16 - Nebula

Hi @Srinivasan_C ,

 

you could use Join and a Filter tool to select the date range. I've attached a sample workflow.

 

Let me know if it works for you.

 

Best,

 

Roland 

Srinivasan_C
5 - Atom

Thanks so much for a super fast reply; when I try to add 'Generate Rows' it shows error Parse error at char (0): Unknown variable "RowCount" can you help me with why I am getting this error?

Srinivasan_C
5 - Atom

Thank you! It worked for me. I am further customizing it for me.

Labels
Top Solution Authors