Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I want to show the rank based on the customer name only.
Here is the formula used
Hi @Anonymous ,
Would you like to provide some sample data?I need to understand a clearer model.
Best Regards,
Eads
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please refer image, data is from a single table only.
Hello @Anonymous
Give this a try.
Customer Rank =
CALCULATE (
RANKX ( ALL ( Sales[CustomerName] ), [Amount],, DESC ),
ALLSELECTED ( Sales[StateName] )
)
It worked . Still there is an issue brother. Same customer with different state is showing in different rows.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 23 | |
| 18 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 51 | |
| 44 | |
| 43 | |
| 39 | |
| 32 |