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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to append data from table A to table B?

Hi there,

I need to maintain a daily report database, which contains 2 identical structure tables, one table to save historical data, another table to save previous day data.

I want to realize function as following:

1.Check whether the historical data include data for the previous day.

2.If the previous day's data are missing, then added to the historical data table.

Thank you in advance!

4 Replies
NareshGuntur
Partner - Specialist
Partner - Specialist

Bing,

You should first identify the Primary Key in the table. Use exists function to identify whether the previous day data is in historical or not. Hope it is clear.

Best Regards,

Naresh

buzzy996
Master II
Master II

I think u can use here,Incremental load concept.

NareshGuntur
Partner - Specialist
Partner - Specialist

A correction

You should first identify the Primary Key in the table. Use exists function on the primary key field to identify whether the previous day data is in historical or not. Hope it is clear.

Best Regards,

Naresh

hariprasadqv
Creator III
Creator III

use exists function if perfect key is found else use date field.