Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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];
Try: num(floor(datetime_start-datetime_end*60*24),'#.##0') as IncidenceDurationMin
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
Good point. I missed that there were two fields.