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: 
jyothish8807
Master II
Master II

Set anlysis

Hi,

I have following data:

NameType
a1
b1
c2
d3
e1
f2
a2
a2

Now i want Count of Type for all users where count is >2.

Regards

Jyothish KC

Best Regards,
KC
1 Solution

Accepted Solutions
jyothish8807
Master II
Master II
Author

Hi,

My requirement if little more specific. My output columns should be like this:

Name123
a2

There should be two condition:

Type should be '1' and count >=2. for second column.

Type should be '2' and count>=2. for third column.. and so on.

Regards

Jyothish KC

Best Regards,
KC

View solution in original post

8 Replies
saumyashah90
Specialist
Specialist

count(<{Count(Type)>={'2'}}> Type)

christian77
Partner - Specialist
Partner - Specialist

Your post is not very clear to me.

count( {$< Type={'>2'}>} distinct Name)

or

count( {$< Name={'=count(Name)>2'}>} distinct Name)

Users = Name?

Count = Count Name appearings?

Count = Count Type appearings?


CELAMBARASAN
Partner - Champion
Partner - Champion

Try this

Count({<Name={"=Count(Distinct Type)>2"}>} Distinct Type)

MayilVahanan

HI

PFA

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
rustyfishbones
Master II
Master II

You can try this

Not applicable

Hi

PFA

sudeepkm
Specialist III
Specialist III

have you checked using aggr() like below. You can use the below expr in a list box which will show you the names where count is >2.

=if(aggr(count(Type),Name)>2,Name)

jyothish8807
Master II
Master II
Author

Hi,

My requirement if little more specific. My output columns should be like this:

Name123
a2

There should be two condition:

Type should be '1' and count >=2. for second column.

Type should be '2' and count>=2. for third column.. and so on.

Regards

Jyothish KC

Best Regards,
KC