Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
The format of the time in the files I load is not how I want it to be and I need to change it.
This is the format of the files:
- After I add "Time(Time#...." some rows is correct, but some are not. Ex. Orig time 74752 (07:47:52) --> 03:15:02
- I guess that when the time is not equal to "hhmmss" it becomes an issue.
- How can I add in the script that some rows in the file are in this format "hmmss" and should be presented as "hh:mm:ss"?
* And another question is regarding the field "Completed time". This is in another format where ex. 15.15 = 15:09 (60*0,15=9)
- I want it to be presented as the previous example "hh:mm:ss"
Thanks in advance!
The numbers in the column dissapears when I load the script.
How about this
=Interval(Interval#(Num#([Completed Time], '##,##', ',', '.')*60, 'mm'), 'hh:mm:ss')
A little bit closer , but really weird that it didnt work for all rows?
See if this is better
=Interval(Interval#(Num#([Completed Time], '##,##', ',', '.')*3600, 'ss'), 'hh:mm:ss')
Thank you so much it works
Awesome, please close the thread by marking correct and helpful responses.
Qlik Community Tip: Marking Replies as Correct or Helpful
Best,
Sunny