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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Need help in generating Rows in Load Script

Hi Team,

As per the requirement i need to generate a row in the table. For a any given server on a given date there will always be on record in with UP status and if the server is down on that then only one record with DOWN status with be inserted in table its duration.

    

DateServerStatusDuration
21/09/2015AUP12
21/09/2015BUP112
21/09/2015BDOWN78
22/09/2015AUP32
22/09/2015ADOWN32
22/09BUP455

In the above table Server A has only UP status on 21/09/2015 , So we need to generate a new row with DOWN Status with duration as 0.


The expected output will be


    

DateServerStatusDuration
21/09/2015AUP12
21/09/2015ADOWN0
21/09/2015BUP112
21/09/2015BDOWN78
22/09/2015AUP32
22/09/2015ADOWN32
22/09BUP455
22/09BDOWN0


Please help hicjontydkpi‌@





10 Replies
avinashelite

Thanks for confirming ...can you please mark the correct answer and close this thread