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)
GaloyanTelman
3 years agoFrequent Visitor
Rank By Groups
RANKX ( ALL ( Table[Employee] ),
CALCULATE ( SUM ( Table[Total Achivment] ),
ALLEXCEPT (
Table,
Table[Employee],
Table[Market]
) ),
,
DESC
)