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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
rathnam_qv
Creator
Creator

Set Analysis

Hi all,

i have attached the excel file.....in that i need to find the Count of the field values based on the condition (i.e,A=A1,B=B2,C=C1,D=D1 then count of A,B,C,D) using Set Analysis............

Thanks in advance

smiley

1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

count({<A={'A1'},B={'B2'},C={'C1'},D={'D1'}>}A)

This will return 0 for your sample data since there is no record that fulfills all the conditions.

Unless you mean that only one of the conditions needs to be met, i.e. A=A1 or B=B2 ..etc. In that case use

count({<A={'A1'}>+<B={'B2'}>+<C={'C1'}>+<D={'D1'}>}A)


talk is cheap, supply exceeds demand