Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to Calculate Duplicate %

Gud Morning ,

Today I was going to calculate Duplicate % region wise,

but I stucked . Cany one please help me to come out from this problem.

Situation : Total Record = 267052

                Duplicate Record = 20322

Now want to know how much duplicate %  I have in each region.

     

RegionTotalTotal Number of Duplicate RecordDuplicate region wiseDuplicate %
Americas6104820322380718.73%
APAC239572032211955.88%
Emerging Markets4651920322334616.46%
Europe8944720322703734.63%
France46080203224937

24.29%

Can any one pls try ?

Acutal Duplicate.jpg

Now I want 20322 similary in text box.

or Straight table in qlick view similar like above table.

1 Solution

Accepted Solutions
prma7799
Master III
Master III

1.Count(GID)

2.((count(TOTAL {<Region>} GID)-count( DISTINCT  TOTAL {<Region >}  GID)))

3.Count(GID)-Count(DISTINCT  GID)

4.Column(3)/Column(2)

View solution in original post

15 Replies
Anil_Babu_Samineni

I think you need TOTAL Keyword within the Count aggregation, Can you share the qvw file

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

Hi, Anil Babu

Please use the file attched in qlick view.

Anil_Babu_Samineni

The reason i ask you is, Your excel file corrupted. Can you load the excel and share the qvw?

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

Hi

Use straight table with dimension Region.

For Total expression is =count(GID)

For Total number of duplicate records =Count(TOTAL GID)-Count(TOTAL DISTINCT GID)

for duplicate region wise =Count(GID)-Count(DISTINCT GID)

for % =(Count(GID)-Count(DISTINCT GID))/(Count(TOTAL GID)-Count(TOTAL DISTINCT GID))

Hope this helps

Regards

Krishna KS

prma7799
Master III
Master III

PFA...

md_qlikview
Creator II
Creator II

Hi,

PFA File for your reference.

Anonymous
Not applicable
Author

Please share the expression.

As I don't have licence version.

Thanks,

prma7799
Master III
Master III

1.Count(GID)

2.((count(TOTAL {<Region>} GID)-count( DISTINCT  TOTAL {<Region >}  GID)))

3.Count(GID)-Count(DISTINCT  GID)

4.Column(3)/Column(2)

prma7799
Master III
Master III

Hi Bijay,

Bji.png

for Duplicate %

bhhh.png