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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
helen_pip
Creator III
Creator III

Set Analysis Expression

Hello

I have an expression which is using set analysis, but it appears not to be working.  I have set the criteria so it is only looking at one of my data sources, but it brings back all results, and ignores the fact I have asked it to only bring back results for that particular data set

I have checked the data structure and all seems O.K., so I was wondering if someone could kindly look at the expression, to see if I have written it wrong

=Count({<data_source = {'Out'}>} {diagnostic = {' No Date' , 'Month End'}>}, ID)

Any help would be greatly appreciated

Kind Regards

Helen

1 Solution

Accepted Solutions
SunilChauhan
Champion II
Champion II

syntax could be like

count({<field1={'Value'}, field2={'Value'} >} IDfieldname)

let me know if you have have any Q's

Sunil Chauhan

View solution in original post

4 Replies
SunilChauhan
Champion II
Champion II

dont use , before ID in above expression and use , b/w two conditions see below


Count({<data_source = {'Out'},diagnostic = {' No Date' , 'Month End'}>} ID)


hope this helps

Sunil Chauhan
helen_pip
Creator III
Creator III
Author

Hello

Thank you for your suggestion, I have removed the comma (,) and the same problem still applies.  Apart from the comma, did you kindly have any other suggestions?

Kind Regards

Helen


SunilChauhan
Champion II
Champion II

syntax could be like

count({<field1={'Value'}, field2={'Value'} >} IDfieldname)

let me know if you have have any Q's

Sunil Chauhan
helen_pip
Creator III
Creator III
Author

Hello,

Thank you so much.  This has worked......I really appreciate your help

Kind Regards

Helen