Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I have 2 table.
MasterCalender:
Year,Quater,Month,Week (I have 2011,201,2013 year in the table)
Exceptions:
ID, Priority, Status, Date_Raised, Date_Pickedup, Date_Closed.
I want to create 4 filter for Year, Quater, Month and Week. I am using master calender table for these values.
Based on the user selection i have to check in three date fields raised,pickedup and closed in my exception table.
Questions i have.
1.) Do i need to join MasterCalender table to Exception table. If yes how to join and what columns i use.
2.) How to filter the records based on selection.
I appreciate if someone reply me.
Thanks,
Chris
hello ,
Regards,
Marwen
Hi Sekhar,
Please see Henric's blog: http://community.qlik.com/blogs/qlikviewdesignblog/2012/10/16/the-master-calendar
There are three ways to create the master calendar. And then as Marwen Garwachi has mentioned you must make sure to join the two tables.
Normally I prefer Henric's third choice. By using the first and last date in your data, you will make sure additional feature data (dates) are not missed out in you calendar.
HI THERE,
IF YOU MAP THE TABLES THEN AUTOMATICALLY EVERY DATE IS SYNCHRONISED WITH CORRESPONDING TRANSACTION DATES...SO NO NEED TO CONFUSE AGAIN WITH THREE DATES.....JUST MAP WITH Date_Raised TO MASTER CALENDAR..
prem
If you decide do not link the tables you can use Set Analysis to make your calculations.
1) Please add a field "date" to your calendar (if you already didn´t do that)
2) Now you can use Set Analysis to restrict the rows from your Expression, using something like : Count({<Date_Raised=P(DateCalendarField)>} ExceptionID)