Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
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