Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to get Duplicate values Summary.. as Below

Hi,

I have ID Column, I need to count the duplicate values and for those values required summary.. Please find the attached excel for the same. Count Formula in excel is 'COUNTIF($A$2:$A$20,A2)'

  

IDCount
150716984
166396022
166567501
166509631
166542491
166396032
166396032
166395981
166471131
166448601
150716984
166510931
166497541
166516891
150716984
166396091
166396081
150716984
166396022

Result should be as below

  

Row LabelsCount of ID
111
24
44
Grand Total19

Thanks in Advance......

1 Solution

Accepted Solutions
settu_periasamy
Master III
Master III

Try this.

Load Count(ID) as ID from Table Group by ID;.


In the Chart, Dimension as ID, sum(ID) as Expression.

View solution in original post

6 Replies
settu_periasamy
Master III
Master III

Hi,

Just Load your excel file into QV.

Put ID as dimension, count(ID) as Expression.

I think you will get the desired result.

prma7799
Master III
Master III

Like this

Anonymous
Not applicable
Author

Thanks for Reply..

I need to count the duplicate values in script level, in my data there was no 'Count' column.

Regards,

Rafee

settu_periasamy
Master III
Master III

Try this.

Load Count(ID) as ID from Table Group by ID;.


In the Chart, Dimension as ID, sum(ID) as Expression.

shiveshsingh
Master
Master

In your excel, one sheet is having count and ID column,

so you need to put Count column as dimension and count(ID) as expression.

Refer attached app

dinuwanbr
Creator III
Creator III

Hi,

Check this. It has both the way counting. from Expressions and scripting.

Rgds,

Dinu1