Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Interval Match Based On Dates

Hi, I am new on Talend. We have a below requirement in our project. 

scenario- We have project LOB allocation in one table and we have invoice data on another table.

 I want to Match and get LOB and LOB percent for invoices based on invoice date.

 

The final output I need is 

Project ID -- Customer ID -- Invoice No -- invoice date -- Invoice amt -- LOB ID --LOB %

 

how can I implement this?

 

Thanks in advance. 

 

0683p000009M5ND.png

Labels (2)
4 Replies
Anonymous
Not applicable
Author

you can read the two files and use tmap to perform the join

 

0683p000009M5Gv.png0683p000009M5Q2.png

 

hope this will help

 

Anonymous
Not applicable
Author

Hi,

 

Could you please help me, how to make a complex join in Talend

My requirement is as below:

 

table1.invoice_date between table2.start_date and table2.end_Date 

and

table1.pk = table2.fk

 

Thanks,

Anonymous
Not applicable
Author

Sorry, I don't know how to do a join with between on tmap
David_Beaty
Specialist
Specialist

Hi,

 

On part of the join criteria, connect up the bits that are direct 1 to 1 mapping but the the date join, click the filter button (arrow and plus) on the row2 table.

 

You'll also need to set the join model to all matches I think, and it also drops completely the rows that dont join to anything, which you'll need to capture and join back in to your main flow somehow.