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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Keep records

Hi All, 

I have table called jira which has  below mentioned fields in the screenshot . So the field "Status and Comments" will keep updating and it will change . But My requirment is to keep the status and Comments as it was before.  how can i achive this ?

Can you please help on this how to achive ?

smilingjohn_0-1604316334458.png

 

4 Replies
MayilVahanan

HI @smilingjohn 

We can store the current values in qvd and append the future values in the same qvd instead of replace from the source table. 

So that, we can see all the current & future comments in the qvd.

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
smilingjohn
Specialist
Specialist
Author

@MayilVahanan  Thnaks ,

But how should we do it in the script ? can you please give me a example on this , It would be really helpful . 

 

smilingjohn
Specialist
Specialist
Author

Hi community

Any help on this 

MayilVahanan

Hi @smilingjohn 

Sample Script:

If not Isnull(QvdCreateTime('T1.qvd')) then
Load * from T1.qvd(qvd);
ENDIF

T1:
LOAD *
FROM
Sourcetable;

store T1 into T1.qvd;

it will concatenate all the source values in to QVD each times of reload the values.
You can change the script based on ur business logic.

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.