I have to find the count for TOP N. N is any number.
For example, If I have to find the top 10 diagnosis used by doctor, I know how to find the top 10 diag by using the Group sort expert.
But, I want to count the total of top 10 diag used.
GH1: Dr.Smith
GH2. Dx1 count: 80
GH2. Dx2 count: 70
GH2. Dx3 count: 70
GH2. Dx4 count: 60
GH2. Dx5 count: 55
GH2. Dx6 count: 50
GH2. Dx7 count: 45
GH2. Dx8 count: 40
GH2. Dx9 count: 30
GH2. Dx10 count: 20
Now I want the count of (80+70+70+...+20) in GH1. If I use the summary function then that counts all the diags for that DR. that are NOT in top N.
I Just want the count only Top N(10)
Any help???
For example, If I have to find the top 10 diagnosis used by doctor, I know how to find the top 10 diag by using the Group sort expert.
But, I want to count the total of top 10 diag used.
GH1: Dr.Smith
GH2. Dx1 count: 80
GH2. Dx2 count: 70
GH2. Dx3 count: 70
GH2. Dx4 count: 60
GH2. Dx5 count: 55
GH2. Dx6 count: 50
GH2. Dx7 count: 45
GH2. Dx8 count: 40
GH2. Dx9 count: 30
GH2. Dx10 count: 20
Now I want the count of (80+70+70+...+20) in GH1. If I use the summary function then that counts all the diags for that DR. that are NOT in top N.
I Just want the count only Top N(10)
Any help???