Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
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.

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.