I want to rank the customers based on Year and Month. I have tried many cases but not worked out. Could you please help me on this.
I have attached the excel file in the https://www.dropbox.com/s/qmi7aylbqc3bred/Rank%20Sample.xlsx?dl=0
link and the rank which I wanted to display.
Solved! Go to Solution.
DAX for calculated column [Rank].
Rank = RANKX ( FILTER ( Sheet1, Sheet1[Customers] = EARLIER ( Sheet1[Customers] ) ), Sheet1[Balance], , DESC, DENSE )