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! Get ahead of the game and start preparing now! Learn more
Hello,
Having an issue with ranking my top routes by Total Orders.
For now there is a summarized table with data that goes to visuals, ranking is based on two things: first by order count, second if there are same values, ranking takes total revenue, but final result seem to have an issue, since there are two 4th places.
Adding snips:
Solved! Go to Solution.
Hi @Resolver
Can you please try the below DAX.
Route Rank =
RANKX(
ALL('Routes'[Route Name]),
CALCULATE(SUM('Orders'[Total Orders]) * 1000000 + SUM('Orders'[Total Revenue])),
,
DESC,
Dense
)
If this answers your questions, kindly accept it as a solution and give kudos.
Hi @Resolver
Can you please try the below DAX.
Route Rank =
RANKX(
ALL('Routes'[Route Name]),
CALCULATE(SUM('Orders'[Total Orders]) * 1000000 + SUM('Orders'[Total Revenue])),
,
DESC,
Dense
)
If this answers your questions, kindly accept it as a solution and give kudos.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |