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: 
btrinh
Contributor II
Contributor II

Keeping track of changes in a large data set?

Hello! Hope someone could help me with this problem.

I have a large dataset (~2mil records) that is updated periodically, and I need to keep track of the changes in this set. Whenever there's a new update, I'll receive the new data dump with ALL records, not just the updated ones. It looks like this:

UpdatePeriodItemValue
Update 12020-01A1000
 2020-01B500
 2020-01C4000
Update 22020-02A1000
 2020-02B1000
 2020-02C2000
Update 32020-03A1000
 2020-03B1000
 2020-03C3000
Update 42020-04A1000
 2020-04B2500
 2020-04C3000
 2020-04D500

My question is, what is the best way to model the data to keep track of Value changes?

If I keep all historical records like the above example, I'll end up with ~8 millions records after just 4 updates.

But if I keep only the changes, or the latest record + changes if any, I cannot visualize the changes in a pivot table (the final requirement). Before() doesn't work, since the data is missing:

sample2.PNG

 

Looking forward to your ideas! If you need any clarifications, please feel free to ask.

 

Labels (1)
0 Replies