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

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

How to sum and calculate time?

Skärmavbild 2014-11-03 kl. 15.41.36.png

Hi all, I have this data, and would like to sum the time worked. P_TYPE = 1 is for when You sign in, and P_TYPE = 2 is for signing out for breaks or end of day.  so my question is hos to do this?

Thanks in advance!

11 Replies
its_anandrjs
Champion III
Champion III

Hi,

It seems ok also when you create a resident table as (PLOCKARE_TID) did you try to drop the earlier table PLOCKARE_TIDSTAMPLINGAR at the end of the load script

Drop Table PLOCKARE_TIDSTAMPLINGAR;

Regards

Anand

Not applicable
Author

Hi,

I have dropped the earlier table now, but still not getting the desired effect.

I have made a minor change in the if statement. but its not calculating the time right?

Skärmavbild-2014-11-06-kl.-13.23.07-(2).jpgSkärmavbild 2014-11-06 kl. 13.21.34.png