Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ...
I have two fields like...
First field contains:
Start date time:05:01:13:113
End date Time:05:01:13:313
I want to find out end date time-start date time ..IN Qlikview how can i do this?
Please can any one help me?
use
time#('05:01:03:313','hh:mm:ss:ms')-time#('05:01:13:113','hh:mm:ss:ms')
returns number ind ecimal
you might want to format it too
=Interval(EndTime-StartTime,'hh:mm:ss')
[End date time]-[Start date time] as NumDiff
Interval([End date time]-[Start date time] , '<Yourfomat>') as FormattedDiff
Hi
Try with
=Interval(EndDateTime-StartDateTime,'hh:mm:ss:fff')
Hi,
Try below
timestamp(Timestamp#(Field2, 'hh:mm:ss')-Timestamp#(Field1, 'hh:mm:ss')) as NewField
or
=Interval(Time(Field2) - Time(Field1)) as NewField
or
[Field2]-[Field1] as NewField
Regards
ASHFAQ
Hi ..when i am trying to do this...
Interval (time('TextBetween( CALL_DATA,'ENDDATETIME>','</'),'hh:mm:ss:ms')-time('TextBetween( CALL_DATA,'ENDDATETIME>','</'),'hh:mm:ss:ms'')) as ivr
it gives error...
Try like:
Interval (time#(TextBetween( CALL_DATA,'ENDDATETIME>','</'),'hh:mm:ss:ms')-time#(TextBetween( CALL_DATA,'ENDDATETIME>','</'),'hh:mm:ss:ms')) as ivr
Note: removed two unnecessary single quotes and time#.
Hi..
When i follow urs code script run successfully but it does not display any data in dash board...
Please find following attachments
Hi,
Try this expression
=Interval(Timestamp#('05:01:13:313', 'hh:mm:ss:fff') - Timestamp#('05:01:13:113', 'hh:mm:ss:fff'), 'hh:mm:ss:fff')
Regards,
jagan.