- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Rank customers
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-12-2018 12:53 AM
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.dropbox.com/s/qmi7aylbqc3bred/Rank%20Sample.xlsx?dl=0
link and the rank which I wanted to display.
Regards,
Srivalli
Solved! Go to Solution.
Accepted Solutions
Re: Rank customers
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-17-2018 04:35 AM
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-msft
Regards,
Srivalli
All Replies
Re: Rank customers
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-13-2018 12:11 AM
Hi @srivally,
DAX for calculated column [Rank].
Rank = RANKX ( FILTER ( Sheet1, Sheet1[Customers] = EARLIER ( Sheet1[Customers] ) ), Sheet1[Balance], , DESC, DENSE )
Best regards,
Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Re: Rank customers
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-13-2018 03:25 AM
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
Re: Rank customers
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-17-2018 04:35 AM
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-msft
Regards,
Srivalli