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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Set Analysis Question

Hi

I'm trying to filter down results on 2 variables, min and max age, and counting number of clients within specified boundaries, and I have looked on similar threads, but my coding does not produce the necessary answer, any ideas?

COUNT({<AGE = {>=$(=vMinAge)<=

$(=vMaxAge)}>} Client)

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

COUNT({<AGE = {">=$(=vMinAge)<=$(=vMaxAge)"}>} Client)

or

COUNT({<AGE = {">=$(=vMinAge)<=$(=vMaxAge)"}>} Distinct Client)

View solution in original post

5 Replies
MK_QSL
MVP
MVP

COUNT({<AGE = {">=$(=vMinAge)<=$(=vMaxAge)"}>} Client)

or

COUNT({<AGE = {">=$(=vMinAge)<=$(=vMaxAge)"}>} Distinct Client)

Not applicable
Author

PFA.

Thanks,

Ram

its_anandrjs
Champion III
Champion III

COUNT(DISTINT  {<AGE = {">=$(=vMinAge)<= $(=vMaxAge)"}>} Client)


AND


COUNT( {<AGE = {">=$(=vMinAge)<= $(=vMaxAge)"}>} Client)


VishalWaghole
Specialist II
Specialist II

Hi Gerhard,

COUNT({<AGE = {">=$(=vMinAge)<=$(=vMaxAge)"}>} Client)

Put set analysis condition into double inverted comma and try if not possible then send your dummy application.

- Regards,

Vishal Waghole

Not applicable
Author

Hi all

Thanks for the quick responses, got the required result. Have read through a few topics on set analysis but could not find the correct syntaxes.

Really appreciate your help

Gerhard