Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Group by in Set analysis

Dear All,

I have data something like this

EmployeeCompanyDateOfJoiningLastWorkingDay
KeerthiBusiness Solutions Pvt Ltd2008-12-01 00:00:00.0002015-12-17 00:00:00.000
KeerthiObjects Pvt Ltd2005-05-18 00:00:00.0002008-11-28 00:00:00.000
DeepakConsulting Pvt Ltd2002-11-04 00:00:00.0002005-02-25 00:00:00.000
DeepakNetwork2002-01-23 00:00:00.0002002-10-23 00:00:00.000

I want to calculate the total experience.

Ex: For Keerthi Total Experience will be

Interval(2008-11-28 00:00:00.000,2005-05-18 00:00:00.000) + Interval(2015-12-17 00:00:00.000,2008-12-01 00:00:00.000)

How do i do it in Qlikview using set analysis.

Regards,

Keerthi KS

2 Replies
shraddha_g
Partner - Master III
Partner - Master III

calculate interval for each company in years or months and then use sum for that field.

to calculate interval in month refer How Do I Get the Number of Months Between Two Dates?

antoniotiman
Master III
Master III

Hi,

see Attachment.

Regards,

Antonio