Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
I am using below Formula to get Ranks of Sales Reps.
| Rep_Name | B_Rev | S_Rev | CR% | Rank_CR% |
| Rep_1 | 100000 | 10000 | 10% | |
| Rep_2 | 200000 | 10000 | 5% |
Solved! Go to Solution.
Hi @MKPBI_2805 ,
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
Hi @MKPBI_2805 ,
Use the following measure:
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
Have updated the PBI file with actual columns needed in reporting.
https://drive.google.com/file/d/1AcRE06ckGJbc-T-VxXUQHBU_ctC9Lmip/view?usp=sharing
Could you pls help.
Hi,
Please try this measure:
Rank_CR% =
VAR a =
SUMMARIZE (
ALLSELECTED ( Sheet2 ),
Sheet2[Rep Name],
Sheet2[AI Score],
"CR%_CQTD", [CR%_CQTD]
)
RETURN
RANKX ( a, CALCULATE ( [CR%_CQTD] ),, DESC, DENSE )
The result shows:
See my attached pbix file.
Best Regards,
Giotto
Hi @MKPBI_2805 ,
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/3...
Power BI FIle is available here.
https://drive.google.com/file/d/1AcRE06ckGJbc-T-VxXUQHBU_ctC9Lmip/view?usp=sharing
RANKX Function help needed.
Hi @MKPBI_2805 ,
Cannot access the file.
Have sent a request . Pls share file.
Regards,
Harsh Nathani
Did I answer your question? Mark my post as a solution! Appreciate with a Kudos!! (Click the Thumbs Up Button)
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 42 | |
| 41 | |
| 21 | |
| 21 |
| User | Count |
|---|---|
| 150 | |
| 107 | |
| 64 | |
| 36 | |
| 36 |