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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Update CSV file

Hi Guys,

 

Is it possible to achieve SCD2 type using csv file.

As in CSV would be the source and target. When i load the delta(Csv file), it should ideally insert new records and update existing records.

 

Regards

Labels (4)
1 Solution

Accepted Solutions
vapukov
Master II
Master II

Hi,

 

not effective, but yes it possible with 2 tMap:

 

  1. first tmap use LEFT JOIN and update rows from the source file
  2. second tMap use INNER JOIN and append rejected rows to file - possible it will be collision (file already opened), so will need to add one more step - store data to the temp file, then append target from temp

regards, Vlad

View solution in original post

1 Reply
vapukov
Master II
Master II

Hi,

 

not effective, but yes it possible with 2 tMap:

 

  1. first tmap use LEFT JOIN and update rows from the source file
  2. second tMap use INNER JOIN and append rejected rows to file - possible it will be collision (file already opened), so will need to add one more step - store data to the temp file, then append target from temp

regards, Vlad