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: 
sona_sa
Creator II
Creator II

How to make this Expression in SET Analysis

Hi Friends,

How to make this expression in QlikView or Qlik Sense.

=Count(DISTINCT If(MonthEnd(Link_Date)=Monthend(DOJ),[EmpCode]))

Thanks

Labels (2)
6 Replies
rajpreeths
Creator
Creator

May be like this.

 

COUNT({<Link_Date={"=InMonth(Link_Date,DOJ,0)"}>}distinct EmpCode)

 

Please ensure Link_date and DOJ are in same format before using this expression. If needed have same format in the backend

sona_sa
Creator II
Creator II
Author

Hi Raj,

Thanks for reply, But this expression is not working.

Please suggest.

Thanks

rajpreeths
Creator
Creator

I tried in my local.its working for me.if it's not working for you, please verify date formats of linkdate and doj. Also share some sample data and the output you look for.

Chanty4u
MVP
MVP

can you share any sample data with the columns which you are using in the expression.

sona_sa
Creator II
Creator II
Author

Please find the attached xls for the same

 

THANKS.

sona_sa
Creator II
Creator II
Author

Please find the attached xls for the same

 

THANKS.