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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
s2016
Contributor III
Contributor III

Machine generate ID field

Hi,

I have daily QVD files such as Entity_10/6/2917 with fields [entity, date, capacity, total_volume].

Each day some new entities could be present in these QVD's and also the capacity of previous ones could change.


I need to generate a unique entity_id field for each entity and also the below date and status fields.

    

Entity_Status_FlagEntity_Creation_DateEntity_Status_Change_DateEntity_Last_Read_Date
"I" initially Date when entity first appeareddate of last capacity change to this recorddate of last apperance in the Entity files
unchanged unless last read data is >7 days ago

Could you please help me with the script to create these fields.

Labels (1)
2 Replies
s2016
Contributor III
Contributor III
Author

I am basically trying to create a single QVD file which has a unique row for each entity with latest capacity.

The total_volume field can be ignored.

Siva_Sankar
Master II
Master II