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 nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi All,
I'm trying to get a ranking with a calculated column but it is not working for some reason. Any help on it will be greatly appreciated.
Thanks.
It is pulling two objects from SalesForce, Account (Name and Region) and Opportunity (signed deals) Object. The calculated column (
Solved! Go to Solution.
Hi @powerbiwork
I would give the below code a try
RANKX(ALLSELECTED(Account),CALCULATE(SUM(Opportunity[Signed Deals])),,,dense)
Hi @powerbiwork
I would give the below code a try
RANKX(ALLSELECTED(Account),CALCULATE(SUM(Opportunity[Signed Deals])),,,dense)
Works awesome! Thanks so much!
| User | Count |
|---|---|
| 22 | |
| 22 | |
| 20 | |
| 19 | |
| 11 |
| User | Count |
|---|---|
| 65 | |
| 54 | |
| 46 | |
| 44 | |
| 31 |