Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
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

Labels (1)
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