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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Interval Date Issue

Hello,

I am facing an issue with sum().

I have minutes calculated as

round(Interval(Date1-Date2,'mm')*(24*60)) as IntervalMinutes

For an data it comes 32 but when i write sum(IntervalMinutes) it shows 64.

Any idea

14 Replies
its_anandrjs
Champion III
Champion III

The dates are you using it is timestamp.

Regards

Anand

Not applicable
Author

Yes Of Course

Anonymous
Not applicable
Author

What are the values of Date1 & Date2 and why multiply by 24*60 ?

Not applicable
Author

Previously i was getting 0 as difference hence used this logic

Not applicable
Author

Main thing is that when the value is 32 by a after multiplication then why it converts to 64 when sum()

anbu1984
Master III
Master III

If difference is zero, then how did you get 32 after multiplication?

Can you provide sample input or app

Not applicable
Author

Please find the attached Document

Not applicable
Author

Did not work

Not applicable
Author

Even i tried this

Interval(Timestamp(Date1,'M/D/YYYY h:mm:ss[.fff] TT')-Timestamp(Date2,'M/D/YYYY h:mm:ss[.fff] TT'),'mm')*(24*60))