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

Announcements
Discover how organizations are unlocking new revenue streams: Watch here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

can we use 'OR' in Set analysis?

can we use 'OR' in set analysis?

Ex:

client ID='1234' or  '5678'

1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

count({$<PMT={'101'},Client_ID= {'PLESC','ESILDR'}>}trans id)

View solution in original post

7 Replies
Anonymous
Not applicable
Author

OR Same Field

sum({$<ClientId = {1234,5678}>}field)

OR different field

http://community.qlik.com/message/188159

Not applicable
Author

To be more specific what if

client ID='PLESC' or 'ESILDR'

can i be able to use the same syntax for the string as well, i have give it a try but not working?

count({<$PMT={'101'},Client_ID=?>}trans id)

what should be the syntax i shoud be using for this?

Anonymous
Not applicable
Author

count({$<PMT={'101'},Client_ID= {'PLESC','ESILDR'}>}trans id)

johanlindell
Partner - Creator II
Partner - Creator II

It should look like:

count({<$PMT={'101'},Client_ID={'PLESC','ESILDR'}>} trans id)

/Johan

Not applicable
Author

Mohit, thanks for the help it worked anyway in your expression does the '+'(PMT={'101'}+Client_ID={'PLESC','ESILDR'})

sign implies to be as 'AND'?

count(Distinct {$<PMT={'101'}+Client_ID={'PLESC','ESILDR'}>} trans id)

er_mohit
Master II
Master II

For AND use this operator *

Not applicable
Author

Thanks for the help Mohit.