Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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
Luminary Alumni
Luminary Alumni

Hi,

Try this hope it helps you

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

DepartmentGUID))

Regards,

Jagan.