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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

interval result formatting

Hello,

I would like formating the result of durationminutes like a number #.### but I don´t know How can I do it?

I need to show IncidenceDurationMin with thousand point

Schedule:

LOAD :

Incidencetart,

Incidenceend,

time(datetime_start-datetime_end,'hh:mm:ss') as IncidenceDuration,

interval(datetime_start-datetime_end,'mm') as IncidenceDurationMin

FROM [SCHEDULETIME.XLS];

4 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try: num(floor(datetime_start-datetime_end*60*24),'#.##0') as IncidenceDurationMin


talk is cheap, supply exceeds demand
swuehl
MVP
MVP

Ana, please be patient if you don't receive answers immediately and try to avoid multiple postings about the same request:

Format an interval result as ###.###

P.S: I guess there should be brackets around the difference calculation in Gybert's expression and probably an end-start calculation

num(floor( (datetime_end-datetime_start) *60*24),'#.##0,',',','.') as IncidenceDurationMin

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Good point. I missed that there were two fields.


talk is cheap, supply exceeds demand
MarcoWedel

Hi,


QlikCommunity_Thread_189061_Pic1.JPG


see your other thread

Re: Format an interval result as ###.###

hope this helps

regards

Marco