Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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)
User | Count |
---|---|
139 | |
113 | |
103 | |
73 | |
63 |
User | Count |
---|---|
136 | |
125 | |
107 | |
70 | |
61 |