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: 
Not applicable

count of duplicates

Hi Folks, I need to count the overlap values (duplicates) for a key id value. I have the data like below:

AreaName , KEYID

ABC , 1

ABC , 2

ABC , 3

ABC , 4

ABC , 5

ABC , 6

XYZ , 1

XYZ , 2

XYZ , 7

XYZ , 11

PQR , 1

PQR , 12

PQR , 10

PQR , 11

I need the following table:

ABC , 3

XYZ , 3

PQR , 2

5 Replies
Not applicable
Author

Could you please explain briefly?

giakoum
Partner - Master II
Partner - Master II

ABC , 6

XYZ , 3

PQR , 4

if this is what you mean, where do you need it to be done? In script or chart? Otherwise you need to explain in more detail.

its_anandrjs
Champion III
Champion III

Your requirement is not clear and sample data is also not clear. provide more sample.

Thanks & Regards

its_anandrjs
Champion III
Champion III

Use Count( AreaName ) will give you result

Hope this helps

maxgro
MVP
MVP

ABC , 3          duplicated 1, 2 and ???  why 3, I think 2

XYZ , 3          duplicated  1, 2, 11

PQR , 2          duplicated  1, 11

RESULT

1.png