Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
vvira1316
Specialist II
Specialist II

How to construct timeline in Qlikview that will look something similar to QS Timeline Extension Example

Hi,

How to construct a timeline from following information that is calculated using expression and formula. It will be really nice if timeline will look something similar like following example from QS.

Qliksense timeline example can be found here GitHub - ralfbecher/QlikSense_Extension_Timeline: QlikSense Extension Timeline

 

Edit DateTimeCP Doc: DocIDEdit DateEdit TimeField / EventNew ValueOld Value
42671.62986111145143410/28/20163:07:00 PMDocStatusED sent to customerTBD-PC
42558.4545143407/07/201610:48:00 AMDocStatusTBD-PCTBD
42438.66388888945143403/09/20163:56:00 PMDocStatusTBDNR
42438.57916666745143403/09/20161:54:00 PMCreated.--

=MaxString({<[CP Doc: DocID]={'451434'}, [Field / Event]={'Created.'}>}[Edit Date Time])

=MaxString({<[CP Doc: DocID]={'451434'}, [Field / Event]={'DocStatus'}, [New Value]={'TBD'}>}[Edit Date Time])

=MaxString({<[CP Doc: DocID]={'451434'}, [Field / Event]={'DocStatus'}, [New Value]={'TBD-PC'}>}[Edit Date Time])

=MaxString({<[CP Doc: DocID]={'451434'}, [Field / Event]={'DocStatus'}, [New Value]={'ED sent to customer'}>}[Edit Date Time])

SampleInfoForTimeline2.png

Time difference is calculated using expression included above in a calculation formula.

Screenshot from QS Sample

QSTimelineSample.png

I will appreciate any help/guidance.

Thanks,

Vijay

3 Replies
marcus_sommer

vvira1316
Specialist II
Specialist II
Author

Hi Marcus,

Thanks for pointing to useful information. I'm able to leverage and use it. I'm having some challenge in getting offset work correctly for each Event. I'm getting the right offset value that I want to use and I'm displaying it in each bar as can be seen in the screenshot.

I'll appreciate pointers.

Best Regards,

Vijay

BarOffsetIncorrect2.png

vvira1316
Specialist II
Specialist II
Author

I found the issue in the expression. I had to change it to

=Max({<[TL Event]>}[TL End Date Time]) - Max({<[TL Event]>}[TL Start Date Time])

and not

=Max({<[TL Event]>}[TL Start Date Time]) - Max({<[TL Event]>}[TL End Date Time])

TimeLine.png