Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Count Issues on particular month

hi  community i m facing the problem but can't get success.

i appreciate for any kind of help from your side m using personal edition

I have two table.

Table1:

EmpCodeDate
2785/1/2013
2785/2/2013
2785/3/2013
2785/4/2013
2785/5/2013
2785/6/2013
2785/7/2013
2785/8/2013
2785/9/2013
2785/10/2013
2785/11/2013
2785/12/2013
2785/13/2013
2785/14/2013
2785/15/2013
2785/16/2013
2785/17/2013
2785/18/2013
2785/19/2013
2785/20/2013
2785/21/2013
2785/22/2013
2785/23/2013
2785/24/2013
2785/25/2013
2785/26/2013
2785/27/2013
2785/28/2013
2785/29/2013
2785/30/2013
2785/31/2013
2786/1/2013
2786/2/2013
2786/3/2013
2786/4/2013
2786/5/2013
2786/6/2013
2786/7/2013
2786/8/2013
2786/9/2013
2786/10/2013
2786/11/2013
2786/12/2013
2786/13/2013
2786/14/2013
2786/15/2013
2786/16/2013
2786/17/2013
2786/18/2013
2786/19/2013
2786/20/2013
2786/21/2013
2786/22/2013
2786/23/2013
2786/24/2013
2786/25/2013
2786/26/2013
2786/27/2013
2786/28/2013
2786/29/2013
2786/30/2013
2787/1/2013
2787/2/2013
2787/3/2013
2787/4/2013
2787/5/2013
2787/6/2013
2787/7/2013
2787/8/2013
2787/9/2013
2787/10/2013
2787/11/2013
2787/12/2013
2787/13/2013
2787/14/2013
2787/15/2013
2787/16/2013
2787/17/2013
2787/18/2013
2787/19/2013
2787/20/2013
2787/21/2013
2787/22/2013
2787/23/2013
2787/24/2013
2787/25/2013
2787/26/2013
2787/27/2013
2787/28/2013
2787/29/2013
2787/30/2013
278

7/31/2013

Table2:

EmpCodeStartDateEndDateNo. Of Absent
2785/30/20135/30/20131
2786/20/20136/20/20131
2786/29/20137/2/20134

Now i want output like below when i select the particular month in calender.

Output
EmpCodeNo . Of Absent
2781when user select May In Calendar
2783when user select june In Calendar
2782when user select july In Calendar

my calender like this

year2013
MonthMayJuneJuly

Thanks & Regards

1 Solution

Accepted Solutions
swuehl
MVP
MVP

You can transform your Table2 to a table that contains a record per absent date, like discribed in this blog post.

Then just link this table to a calendar, use Month as dimension and count(AbsentDate) as expression.

Hope this helps,

Stefan

View solution in original post

6 Replies
swuehl
MVP
MVP

You can transform your Table2 to a table that contains a record per absent date, like discribed in this blog post.

Then just link this table to a calendar, use Month as dimension and count(AbsentDate) as expression.

Hope this helps,

Stefan

Not applicable
Author

sir

when i select month june then i want output in pivot like-

EmpCode   No. Of Absent

278               3


similarly

when i select month july then i want output in pivot  like

EmpCode   No. Of Absent

278               2

Thanks & Regards

Not applicable
Author

please help me urgently to solve this problem.

Not applicable
Author

This is basically using the same logic to the blog and idea suggested by swuehl.

Not applicable
Author

Thanks a lot sir

Regards

vishwaranjan

Not applicable
Author