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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Convert seconds in hours

Hi all,

In my datasource I have a timefield in seconds. I would like to convert that to hours.

I know how to do it like: 1:30, but in this case I would like to see 1.5 hours. Any ideas?

Kind regards,

Henco

2 Replies
Colin-Albert
Partner - Champion
Partner - Champion

Try

= your_seconds_field / (60 * 60)

If this doesn't work, can you post an example of your data.

MK_QSL
MVP
MVP

=Interval(Time(Time#(YourTimeField,'ss'),'hh:mm'))*24

or

Simply

=Interval(Time#(YourTimeField,'ss'))*24