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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Like attached?

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

View solution in original post

2 Replies
tresesco
MVP
MVP

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