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: 
MauriceLudo
Creator II
Creator II

Convertir nombre seconde en hh:mm:ss

Bonjour,

je voudrais afficher le délai moyen dans un objet texte en format suivant hh:mm:ss j'ai essayé plusieurs fonction, aucune ne me donne le bon délai ,

Ci-joint le doc d'exemple.

1 Solution

Accepted Solutions
sergio0592
Specialist III
Specialist III

Hi,

Dans ton .qvw tu as oublié de diviser par 86400 (nb de sec dans une journée). Il faut le rajouter :

='Délai moyen de communication' & chr(13) &
if(Len(Only(TOTAL Skill))>0,
Interval(sum(TotalDmcSec)/86400
/sum(AppelsPris), 'hh:mm:ss')
,

Interval(sum(TotalDmcSec)/86400
/sum(AppelsPris), 'hh:mm:ss')
)

Sans titre.jpg

View solution in original post

4 Replies
happydays1967
Creator
Creator

Maybe it has to do with the number format (comma / point) is the number in seconds with fractiles after the comma? Try changing the thousand- and decianl separator..

sergio0592
Specialist III
Specialist III

Hi,

Dans ton .qvw tu as oublié de diviser par 86400 (nb de sec dans une journée). Il faut le rajouter :

='Délai moyen de communication' & chr(13) &
if(Len(Only(TOTAL Skill))>0,
Interval(sum(TotalDmcSec)/86400
/sum(AppelsPris), 'hh:mm:ss')
,

Interval(sum(TotalDmcSec)/86400
/sum(AppelsPris), 'hh:mm:ss')
)

Sans titre.jpg

MauriceLudo
Creator II
Creator II
Author

no I have already tested and it is not the cause, I think it is necessary to find the right function

thirumalaivadiv
Contributor III
Contributor III

wow its a good piece of work