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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to get start date for new record and set end date for previous record

Hi All,

 

I am implementating SCD type2 without using SCD component in talend but i am not getting Startdate and End as par my requirement.

Requirement is:

1.If data is fresh then start date will set as current date and end date as null.

2.if data is already exist in DB but one attribute changed that data then what it should do for previous record end date should be as current date and for new updated record start date as current date and end date will be null.0683p000009LtGk.png0683p000009LtOm.png0683p000009LtOr.png0683p000009LtH6.png

Please Tell me where m going wrong.

 

Thanks,
Arpit

Here my screenshots:

Labels (2)
20 Replies
Anonymous
Not applicable
Author

You should understand that logic. At the moment you have a compilation error which needs to be resolved. Did you resolve the compilation error?