Help me with the logic please

Highlighted
Six Stars

Help me with the logic please

Hello All,

I have a requirement where I'm extracting the data from a excel file and loading that to target oracle table. Below is how my data looks like.

If there are multiple records I need to pick the record with max APPLICATION_SUBMIT_DATE and load only that particular record to the target table.

Please help me how to achieve this. If you can provide me the flow screenshots that will be of great help.

Thank you.

 

PIC.PNG


Accepted Solutions
Fifteen Stars TRF
Fifteen Stars

Re: Help me with the logic please

Have look to tAggregateRow for that.


TRF

All Replies
Fifteen Stars TRF
Fifteen Stars

Re: Help me with the logic please

Have look to tAggregateRow for that.


TRF
Six Stars

Re: Help me with the logic please

Thank you TRF. That worked.

Fifteen Stars TRF
Fifteen Stars

Re: Help me with the logic please

You're welcome

TRF
Six Stars

Re: Help me with the logic please

Hi TRF,

 

Can you please help me with this scenario. I have another scenario with the same file.

 

If there are multiple records per Prospect_ID and if the APPLICANT_SUBMIT_DATE is null, we need to load to target the record where Decision = Y and if more than one row exists with Decision = Y then take the record with maximum Application_Start_Date.

 

1.PNG2.PNG

Thanks

 

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog