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: 
Sra1bandi
Contributor III
Contributor III

Status change

Hi team,

I have a field which is having field values  status= closed, open , ready , complete

The file is daily updating then the status will also change according to the change 

For example previously i have status= Ready now it's changed to Status= Complete 

In table status both  are displaying when it's updated 

I want only the status when it's updates to Status=Complete show only complete don't require status=Ready 

How to do that 

Thank and regards

Sra1

 

Labels (1)
1 Reply
saranyadurai
Contributor III
Contributor III

Hi @Sra1bandi ,

I hope you have a Key field in the file. Based on that, you can use the Not Exists script function in your model.

Example:

Load 

Keyfield,

Status,

Keyfield&Status as LinkKey  <- Used to fetch the new updated value

FROM XXX; < - Newly updated file

Concatenate

Load 

Keyfield,

Status,

LinkKey  

FROM YYY where not exists (LinkKey ,LinkKey) ;

I hope it helps you !!!

Thanks !