Forum Discussion

koorosh's avatar
koorosh
Icon for Post Partisan rankPost Partisan
6 years ago
Solved

Topn Participants

Hello all experts,

The excel data sheet (attached) shows participant names in an exam list. How I can find "topn" participants? It means, for instance, two participants who have been in more exams.

Thanks in advance.

Koorosh

ExamName
MicrosoftAL
MicrosoftAC 
saleAC 
saleadh
Microsoftadu
Microsoftae
saleag
Microsoftaj
installingal
Microsoftalex
MicrosoftAlexan
MicrosoftAlexander
saleAlexander
installingalexy
Microsoftalexy
Microsoftaloy
salealoy
installingandre
installing2andre
installing3andre
marketandre
Microsoftandre
Onlineandre
saleandre
Techandre
BusimessAdvancedandre
installing3Andy
MicrosoftAndy
saleAndy
installing2anna
Microsoftanna
Onlineanna
Microsoftannie
Microsoftantt
installingavl
installing3avl
Microsoftavl
Microsoftaz
installingBay
installing3Bay
MicrosoftBay
Microsoftben
saleben
Microsoftbenh
Microsoftbeng
salebeng
installing3Bern
extendCham
MicrosoftCham
Microsoftcj
Microsoftclad
installingcob
installing3cob
Microsoftcob
Onlinecob
Techcob
BusimessAdvancedcob
Microsoftcsch
installingdann
Microsoftdann
Microsoftdar
MicrosoftDeb
Microsoftdec
installingDen
MicrosoftDen
installingdhi
installing3dhi
Microsoftdhi
Microsoftdon
  • Hi koorosh ,

     

    Just create the following measure:

     

     

    Rank = RANKX(ALL('Table'[Name]),CALCULATE(DISTINCTCOUNT('Table'[Exam])),,,Dense)

     

     

    Then change filter of table visual:

     

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

    Best Regards,

    Dedmon Dai

3 Replies