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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
tomgrouwe
Contributor III
Contributor III

Interval function

Dear Experts,

I'm having a problem with the interval function.

The formula is as following:

SUM(A)/24 - SUM(B)/24 = dd:hh

To do this i have the following definition:

INTERVAL(SUM(#Uren)/24, 'dd:hh')

-

Interval(SUM([#Uren NB])/24,'dd:hh')

The problem is that the outcome isn't formatted as dd:hh but as ###,##.

What am I doing wrong?

1 Solution

Accepted Solutions
sunny_talwar

Try this:

Interval(Sum(#Uren)/24 - Sum([#Uren NB])/24, 'dd:hh')

View solution in original post

2 Replies
sunny_talwar

Try this:

Interval(Sum(#Uren)/24 - Sum([#Uren NB])/24, 'dd:hh')

tomgrouwe
Contributor III
Contributor III
Author

Worked! Thank you very much