Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
QLIKWORLD LIVE! MAY 16 - 19TH, EARLY BIRD DISCOUNTS! REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
dejijoelayo
Contributor
Contributor

set analysis problem

Hi,

Please I need your help

I want to write an expression using variables vend and vtoday 

I want to show count of job applicant  between the start date and end date. Both are variables.

Now want to call both the variables in chart by writing expression using set analysis, Please help me in writing the same.

vend  =monthstart(addmonths(today(),-5)) and vtoday = date(today()) and WeekEnded is the date field coming from master calender

my expression looks like this

=Count({<WeekEnded = {">=$(=$(vend))<=$(=$(vtoday))"}>} Distinct %KeyJobApplicantID)

Thank you

1 Solution

Accepted Solutions
sunny_talwar

what is the format for WeekEnded field? Is it formatted in the script using Date() function? Also, try this

=Count({<WeekEnded = {">=$(vend)<=$(vtoday)"}>} Distinct %KeyJobApplicantID)

View solution in original post

2 Replies
sunny_talwar

what is the format for WeekEnded field? Is it formatted in the script using Date() function? Also, try this

=Count({<WeekEnded = {">=$(vend)<=$(vtoday)"}>} Distinct %KeyJobApplicantID)
dejijoelayo
Contributor
Contributor
Author

Thank you.  It worked