Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to convert seconds into number

Hi All,

I am using interval function to find the difference between two time stamps in seconds like(Interval(LOAD_STATUS_DT-INSERT_DT ,'ss') .But when i am calculating its still considers as time but i need in number to calculate the average.

Example :- i using above formula in scripts now i have two columns 1.No of records,2.Exec time in sec

Header 1Header 2Header 3
11000094
220000098

In expression =Sum(Header2)/Sum(Header3).It suppose to take  210000)/104

but it is actually doing 210000/0.02.58 Am

Could you please help me how to calculate average .

Thanks,

Rahul

1 Solution

Accepted Solutions
Not applicable
Author

got it ans Num#(Text(Interval(LOAD_STATUS_DT-INSERT_DT ,'ss')))

View solution in original post

1 Reply
Not applicable
Author

got it ans Num#(Text(Interval(LOAD_STATUS_DT-INSERT_DT ,'ss')))