Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

15 mints time difference need to identify

Hi

I have a field which is capturing  invoice time daily basis like  this 10.30.22, 10.40.21,

My requirement is need to identify the 15 mints time difference in the invoice time field.

Example:   first row           11.30.22 ,

                second row       11.45.40  

i need to get the difference like this 00.15.18  

How can i achieve this kindly help me

Thanks in Advance..

Siraj

1 Solution

Accepted Solutions
danieloberbilli
Specialist II
Specialist II

PFA

Kind Regards

Daniel

View solution in original post

6 Replies
hic
Former Employee
Former Employee

Make sure that the timestamps are ordered, and use

Load

     Time#( TimeStamp, 'hh.mm.ss' ) as Time,

     Time(Peek(Time) - Time#( TimeStamp, 'hh.mm.ss' )) as Diff,

HIC

danieloberbilli
Specialist II
Specialist II

PFA the qvw

amit_saini
Master III
Master III

Anonymous
Not applicable
Author

Hi

Thanks for your answer

i here attached my sample data can you kindly help me to fix this in my file

please find the attachment.

danieloberbilli
Specialist II
Specialist II

PFA

Kind Regards

Daniel

Anonymous
Not applicable
Author

Thanks lot...

working fine..