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

How to write set expression?

 

Hi,

How to write set expression for below condition

= count({$<BusinessProcessStatus={"New" and "Accepted" } >}DISTINCT DepartmentGUID)

thanks

6 Replies
omyahamburg
Creator II
Creator II

Changing {"New" and "Accepted"} to {'New','Accepted'} should make it work.

Not applicable
Author

count({$<BusinessProcessStatus={'New' , 'Accepted' } >}DISTINCT DepartmentGUID)

Anonymous
Not applicable
Author

Hi,

Try this,

  

= count({$<BusinessProcessStatus={'New','Accepted'} >}DISTINCT DepartmentGUID)

Anonymous
Not applicable
Author

try this

= count({$<BusinessProcessStatus={"New" } *BusinessProcessStatus={" Accepted" } >}DISTINCT DepartmentGUID)

narender123
Specialist
Specialist

Hi,

Try this.

if(BusinessProcessStatus='New' and BusinessProcessStatus='accepted',

count(DISTINCT DepartmentGUID))

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try this hope it helps you

= Sum(Aggr(If(count({<BusinessProcessStatus={"New", "Accepted" } >}DISTINCT BusinessProcessStatus) = 2, 1, 0)

DepartmentGUID))

Regards,

Jagan.