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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Maketime function has a strange behavior ...

Hi,

I'm experiencing issues with the maketime function in the script (Qv 11) :

- maketime(7,((7.6-7)*60)) results in NULL (instead of 07:36:00)

- maketime(7,((7.5-7)*60)) results un 07:30:00

Do you have any idea ?

Thanks

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Maketime needs integers as arguments. Apparently (7.6-7)*60 isn't quite 36. If you use round((7.6-7)*60) it does work.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Maketime needs integers as arguments. Apparently (7.6-7)*60 isn't quite 36. If you use round((7.6-7)*60) it does work.


talk is cheap, supply exceeds demand
Not applicable
Author

Thanks a lot, I didn't even think about it ... thanks again !