Skip to main content
Announcements
Document boards are being consolidated, this board no longer allows NEW documents READ MORE

need help in datamodelling

cancel
Showing results for 
Search instead for 
Did you mean: 
qlikapple
Creator
Creator

need help in datamodelling

Last Update:

Sep 21, 2022 5:11:51 PM

Updated By:

Sue_Macaluso

Created date:

Nov 19, 2018 4:47:47 AM

Hi all,

I have one table of change order which is in epoch format,

Load * inline

CRNO,Starttime,Endtime,CI

1,1538352000,1538353000,Keyboad

2,1538352000,1538353000,Mouse

3,1538352000,1538353000,laptop

 

Now my requirement is for CRNO i need the daterange in minutes to calculate

 

 

Tags (2)
Comments
pablolabbe
Luminary Alumni
Luminary Alumni

Please, post questions related to the product in the correct discussion board.

Here is the list of discussion board for qlik products,  https://community.qlik.com/t5/Qlik-Products/ct-p/qlik-products

 

Thanks, Pablo 

0 Likes
RudyK
Partner - Contributor II
Partner - Contributor II

Hi,

This is the UNIX time format. It is the number of seconds since 1.1.1970 00:00:00.
The difference between End and Start is the number of seconds and is calculated as a part of the day and converted to a time format.

Datarange:
LOAD
* ,
Time((Endtime-Starttime)/60/60/24) as Datarange
Inline [
CRNO,Starttime,Endtime,CI
1,1538352000,1538353000,Keyboad
2,1538352000,1538353000,Mouse
3,1538352000,1538353000,laptop
];

Perhaps it will help.

RudyK

0 Likes
Contributors
Version history
Last update:
‎2022-09-21 05:11 PM
Updated by: