Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
99829497
Regular Visitor

How to rank names based on sales and on a group

Hi!
I need to rank names based on the amount sold by each person, but I have to consider the group where each person belongs. So my total value for sales must be different depending on which group I´m talking about.

I have this chart and I tried to rank with this formula:

99829497_0-1652902170541.png


Expected result: to get a rank from 1 to N for EACH group, so it would have 3 people with different amount of sales ranked as number 1, one in each group.

 

Can you help me please?

1 ACCEPTED SOLUTION
ghoshabhijeet
Solution Supplier
Solution Supplier

@99829497  Here is my solution.. try this..

ghoshabhijeet_0-1652903890472.png

ghoshabhijeet_1-1652903948688.png

 

** If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution, so that it comes in top of the search and help others. Thank you !

Good Luck 👍

 

View solution in original post

4 REPLIES 4
Syndicate_Admin
Administrator
Administrator

I tried again but now instead of "sales" I´m using a value that indicates a "saving" (it´s a decimal number that also could be shown as a %). I created the same ranking formula but now it didn´t work. Do you know how I can fix it?

99829497_0-1653511067755.png

TKS again

ghoshabhijeet
Solution Supplier
Solution Supplier

@99829497  Here is my solution.. try this..

ghoshabhijeet_0-1652903890472.png

ghoshabhijeet_1-1652903948688.png

 

** If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution, so that it comes in top of the search and help others. Thank you !

Good Luck 👍

 

It worked! Thank you!!

Welcome @99829497 🙏

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.