Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
MauriceLudo
Creator II
Creator II

format hh:mm:ss

Hi,

00:01:49:7 excel rounded 00:01:50 while qlikview the rounded 00:01:49 how i can arroundi with qlikview in 00:01:50

Thank you

Best regards

Maurice

2 Replies
Anil_Babu_Samineni

What format is this? 00:01:49:7

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
zhadrakas
Specialist II
Specialist II

hello Maurice,

i dont understand this Format too.

here is a script where i manually round up or down. This code works but there should be a better way to do it.

Load
if(right(TIME,1)<6,
time(date#(left(TIME, 😎 , 'hh:mm:ss'), 'hh:mm:ss'),
time(MakeTime(hour(left(TIME, 8)), minute(left(TIME, 8)), Second(left(TIME, 8))+1 ), 'hh:mm:ss')) as TIME
;
LOAD * INLINE [
TIME
00:01:49:7
]
;