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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Time calculation in load statement or chart

Hello experts

Help me evaluate

=Interval((Date#(EQM_AUSBS,'M/D/YYYY')+time(EQM_AUZTB,'hh:mm:ss'))-(Date#(EQM_AUSVN,'M/D/YYYY')+time(EQM_AUZTV,'hh:mm:ss')),'hh:mm')

in chart or in load statement.

Thanks,

Ashif Tadvi

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

Like attached?

Your dates and times are proper timestamps, so no need to force parsing them.

View solution in original post

2 Replies
tresB
Champion III
Champion III

Like attached?

Your dates and times are proper timestamps, so no need to force parsing them.

Not applicable
Author

Hi,

try this expression, =Interval((num(Date#(EQM_AUSBS,'M/D/YYYY')&' '&time(EQM_AUZTB,'hh:mm:ss')))-(num(Date#(EQM_AUSVN,'M/D/YYYY')&' '&time(EQM_AUSVN,'hh:mm:ss'))),'hh:mm')

And I guess you need to show it against one more dimension.

Regards,

Amay