Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
The dates are you using it is timestamp.
Regards
Anand
Yes Of Course
What are the values of Date1 & Date2 and why multiply by 24*60 ?
Previously i was getting 0 as difference hence used this logic
Main thing is that when the value is 32 by a after multiplication then why it converts to 64 when sum()
If difference is zero, then how did you get 32 after multiplication?
Can you provide sample input or app
Please find the attached Document
Did not work
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))