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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

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

@Anonymous  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

@Anonymous  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 👍

 

Anonymous
Not applicable

It worked! Thank you!!

Welcome @Anonymous 🙏

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.