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: 
Not applicable

converting decimal hours to days and hours

Hi,

Hoping someone can help with a formatting question.

I have a count of hours, each record in the fact table corresponds to an hour) but need to represent the count as X days Y hours.

The day is based on 8 hours as opposed to 24.

For example, the number 589 would correspond to 73 days 5 hours.

However, using interval, time, etc does not seem to return the result I'm looking for.

Any ideas??

Thanks for the help.

1 Solution

Accepted Solutions
Not applicable
Author

Hi, Find the attached application

View solution in original post

2 Replies
Not applicable
Author

Hi, Find the attached application

Not applicable
Author

Thanks for a great solution!