Forum Discussion
srivally
7 years agoHelper I
Rank customers
Hi All, 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.dro...
- 7 years ago
I got the solution. I have created the measure with that query earlier. Instead of creating measure, if we create a column with the same query, it's working.
Thank you v-yulgu-msftRegards,
Srivalli
v-yulgu-msft
7 years agoMicrosoft Employee
Hi srivally,
DAX for calculated column [Rank].
Rank =
RANKX (
FILTER ( Sheet1, Sheet1[Customers] = EARLIER ( Sheet1[Customers] ) ),
Sheet1[Balance],
,
DESC,
DENSE
)
Best regards,
Yuliana Gu
srivally
7 years agoHelper I
Hi v-yulgu-msft,
I have tried the same DAX query, but I'm facing the error attached.
https://www.dropbox.com/s/37u9pzufgv5klqr/Error.PNG?dl=0
Regards,
Srivalli
- srivally7 years agoHelper I
I got the solution. I have created the measure with that query earlier. Instead of creating measure, if we create a column with the same query, it's working.
Thank you v-yulgu-msftRegards,
Srivalli