Forum Discussion
Ryanb2412
Helper I
6 years agoRanking within a group
Hello, I am trying to rank employees against each other within the same market they serve. I am currently unable to get anything to work correctly besides comparing all employees against one anothe...
- Anonymous6 years ago
Hi Ryanb2412 ,
Try a measure
RankEmployee = RANKX(FILTER(ALL('Table'[Market], 'Table'[Employee]),'Table'[Market] = MAX('Table'[Market])),CALCULATE(SUM('Table'[Total Achievement])))Regards,
Harsh NathaniDid I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
Anonymous
6 years agoNot applicable
Hi Ryanb2412 ,
Total AR Rank = RANKX(Filter (ALL('EmployeeList'[Market]), EmployeeList[Market] = Max(EmployeeList[Market])),[Total Achievement]))
You can also see this blog
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
Regards,
HN
Anonymous
6 years agoNot applicable
Hi Ryanb2412 ,
I suggest you follow the link
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
It is a 3 series blog on RankX
Regards,
HN