Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to generate a new table based on a date interval

In our employee table we have the following information; employee number, start date and end date. Based on this; how can we generate a new table that includes all dates from start date to end date for each employee.


Employee numberStart dateEnd date
100001.01.201210.01.2012
100101.04.2013

05.04.2013


How can we generate this table based on the table above?


Employee numberDate
100001.01.2012
100002.01.2012
100003.01.2012
100004.01.2012
100005.01.2012
100006.01.2012
100007.01.2012
100008.01.2012
100009.01.2012
100010.01.2012
100101.04.2013
100102.04.2013
100103.04.2013
100104.04.2013
100105.04.2013


We want to generate this table to link all the dates each employee works for the company to a master calendar.

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Have a look at the IntervalMatch function to do this.

     http://community.qlik.com/docs/DOC-3557

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

3 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

     Have a look at the IntervalMatch function to do this.

     http://community.qlik.com/docs/DOC-3557

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
mdmukramali
Specialist III
Specialist III

Dear,

Kindly find the attachment.

by using Interval match function we can achieve it.

I hope it will help you.

Thanks,

Mukram.

Not applicable
Author

Hi,

Thanks! The Interval Match solved our problem.

Have a nice day.

Regards,

Marte