Forum Discussion
electrobrit
Post Patron
7 years agoRankx-Ranking should begin when there is a value (not blank) on Ascending rank
RankX is confusing to me so hoping someone can help me through this. I have stores that have an average duration of a task. The lower the better (so I have to sort asc), but if there is no "averag...
- 7 years ago
electrobrit try this measure
Rank = RANKX( FILTER( ALL( Store[StoreKey] ), [Avg Duration] <> BLANK() ), [Avg Duration], , ASC ) * DIVIDE( [Avg Duration], [Avg Duration] )
parry2k
Super User
7 years agoelectrobrit are you trying to rank employees across all the stores or rank the employee within the store?
electrobrit
Post Patron
7 years agoactually the requirement is both
- parry2k7 years ago
Super User
electrobrit rank employees across all the dataset should be the same as we did for Rank for stores but yes ranking of employees withing store will need another enhancement to existing measure which I will post soon but in the meantime employee rank you should be able to get going.