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 make calendar based on two date fields.

Hi Friends,

               i have two dates from two table first one is DOJ  from employeemaster  and Pay_DATE from fact salary .i have created calendar from doj , i want to create calendar from both date fields doj and pay_date.

I am confused in how to merge both fields and make a calendar .

4 Replies
MK_QSL
MVP
MVP

Looks similar post to me...

Check my reply there... Looks like interview question 🙂

Link DOJ and Salary Date to Master Calender

CELAMBARASAN
Partner - Champion
Partner - Champion

Hi,

Here, you just need to form a link table between Employee master, Salary and  Calendar. See Below

Don't disturb any tables as you have right now, Rename the Date field from Calendar table as CommonDate and follow the steps.

1. Create a table with fields Empid, DOJ and DOJ as CommonDate from Employee master. Lets say table name as LinkTable

2. Concatenate the data from Salary table  with fields like Empid, Pay_Date and Pay_Date as CommonDate.

Now you will get the Calendar as desired.

Not applicable
Author

no its not for interview but ur answer is correct.

MK_QSL
MVP
MVP

Please close the thread by selection appropriate answer..