I need help to rank below dataset using dax function in power bi.
I have resources and I want to assign them unique numbers based on their experience, but if more than 1 resource has the same experience then also consider age column and who is elder get the smaller number (i.e. higher rank)
e.g. R1, R3 and R5 all have 11 yrs of exp and will get a normal rank of 1 but I want them to assign 3,1 & 2 ranks respectively as per below data based on their exp and age.
I also donot want to skip any of the sequence in rank numbers.
Also, I am not sure if there is anyother of doing the same thing other than Rank function.Last column in RED i.e. RankingColumn is the desired output column. Much appreciated. Thanks
Solved! Go to Solution.
Perfect....this worked...BUT there is still one issue....where both the age and exp are same it is resulting in the same Rank...any idea how to manage this?
Your time is much appreciated:)