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: 
gautik92
Specialist III
Specialist III

Subtracting Number and Time

I am facing an issue lik I have actual hrs that is in Number format and clocked hrs that is in hrs format but i need to subtract them I have attached qvw file

1 Solution

Accepted Solutions
sunny_talwar

Not sure what you are looking to get, but try this:

=(Sum(totalhrs)*24)-((vWorkDay - (CL-OD))*8.5)


Capture.PNG

View solution in original post

1 Reply
sunny_talwar

Not sure what you are looking to get, but try this:

=(Sum(totalhrs)*24)-((vWorkDay - (CL-OD))*8.5)


Capture.PNG