Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

time format

hi,

i have feild like this 1.30 , 1.28  - that represents time.

i'm using that function  -- Time(Sum(time#((Cat00), 'hh.mm')),'hh.mm') to calculte time.

the nimber at the pivot proporties is interval.

when the number is 1.30 which means 1 hour & 30 minute i get 1.03 = 1 hour & 3 minute.

when the number is 1.28 i get yhe right number 1 hour & 28 minute.

what is wrong ?

thanks'

yarin.

1 Solution

Accepted Solutions
sunny_talwar

Try this:

=Time(Time#(Num(Num#('1.3', '#.#'), '#.00'), 'h.mm'), 'h:mm')

View solution in original post

10 Replies
sunny_talwar

Try this:

=Time(Time#(Num#('1.30', '#.##'), 'h.mm'), 'h:mm')

Replace '1.30' with yout Time Field.

Anonymous
Not applicable
Author

thanks'

but it's still the same

sunny_talwar

It seems to be working here:

Capture.PNG

tamilarasu
Champion
Champion

Try,

=Time(Time#('1.30', 'hh.mm'),'h:mm')

Anonymous
Not applicable
Author

try 1.3 not 1.30

sunny_talwar

Try this:

=Time(Time#(Num(Num#('1.3', '#.#'), '#.00'), 'h.mm'), 'h:mm')

Anonymous
Not applicable
Author

now it's look o.k. but where i need to write "sum" ?

sunny_talwar

With regards to Sum, what exactly are you doing? Not really sure

Anonymous
Not applicable
Author

it's o.k. .

thank you very much.