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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Zafar
Contributor II
Contributor II

Time Format User Readable

I have this expression 

INTERVAL(FABS(AVG(Time_Diff))ddhhmm) in bar graph expression is used and i want the following format for expression which user can easily read   2 Days ,07 Hours ,30 Minute ,2 Sec  
 
Thanks 
Labels (1)
1 Reply
Anil_Babu_Samineni
MVP
MVP

Perhaps doing lengthy way?

INTERVAL(FABS(AVG(Time_Diff)), 'DD') & ' Days, ' & INTERVAL(FABS(AVG(Time_Diff)), 'hh') & ' Hours, ' &  INTERVAL(FABS(AVG(Time_Diff)), 'mm') & ' Minutes, ' & INTERVAL(FABS(AVG(Time_Diff)), 'ss') & ' Seconds'

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful