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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
ManiSK
Contributor II
Contributor II

calculating counts using set analysis

HI 

Can someone help me on below query?

i want to calculate the counts with below conditions

less than GRANT_DATE which i'm selecting + INELIGIBLE = N + RISK =[HIGH]

=count({$<GRANT_DATE ={"<=$(=GRANT_DATE)"}>+1<INELIGIBLE={'N'}>+1<RISK={'[HIGH]'}>}ENTITLEMENT_UNIQUE_ID)

And also wanted to know whether its possible to allow the user to update GRANT_DATE in the variable in dashboard and  calculate the counts?

 

Thanks,

Labels (1)
1 Solution

Accepted Solutions
rubenmarin
MVP
MVP

Hi, the '+' between sets (defined by < and >) will be considered as an 'OR', if you want an 'AND' * can be used, but in this case maybe you only need to do a single set with fields separated by commas:

=count({$<GRANT_DATE ={"<=$(=GRANT_DATE)"}, INELIGIBLE={'N'}, RISK={'[HIGH]'}>}ENTITLEMENT_UNIQUE_ID)

View solution in original post

1 Reply
rubenmarin
MVP
MVP

Hi, the '+' between sets (defined by < and >) will be considered as an 'OR', if you want an 'AND' * can be used, but in this case maybe you only need to do a single set with fields separated by commas:

=count({$<GRANT_DATE ={"<=$(=GRANT_DATE)"}, INELIGIBLE={'N'}, RISK={'[HIGH]'}>}ENTITLEMENT_UNIQUE_ID)