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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis

Hi Folks,

I am trying to get  count  of policy numbers between  two dates using the below expression. I am having issues in getting this to work. Please could some one guide me in the right direction.

Count({<N_YEAR={'2014'},Policy_Start_Date = {">=01-01-2014"},Policy_Start_Date = {"<=30-06-2014"}>} DISTINCT(C_POLY_NUM))

regards

Varghese

3 Replies
sujeetsingh
Master III
Master III

Try this

Count({<N_YEAR={'2014'},Policy_Start_Date = {'>=01-01-2014'},Policy_Start_Date = {'<=30-06-2014'}>} DISTINCT(C_POLY_NUM))

Not applicable
Author

Thanks for the response.

But it still doesn't work.

MayilVahanan

Hi

Try like this

Count({<N_YEAR={'2014'},Policy_Start_Date = {">=01-01-2014 <=30-06-2014"}>} DISTINCT C_POLY_NUM)

Hope your date format is DD-MM-YYYY.

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.