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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello, experts!
I need help with RANKX
In my table I rank groups by Quantity sold and by Amount sold. (So i have 2 rankings)
,
BUT
as you can see in the picture below there are 4 groups ranked 4 in quantity
The task is,
First I rank groups by quantity sold, but if the ranking is the same it should rank my an amount.
Solved! Go to Solution.
Hi @Nick_Kalichava ,
If you want to rank based on multiple column you follow this blog .
https://www.sqlbi.com/articles/rankx-on-multiple-columns-with-dax-and-power-bi/
Hope this was helpful.
Thanks,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
Proud to be a Super User!
Hi @Nick_Kalichava ,
Try to use Dense in the Rankx function.
For example :-
Proud to be a Super User!
Please,
read the description.
my task is to rank by 2 different ranks in one column.
Hi @Nick_Kalichava ,
If you want to rank based on multiple column you follow this blog .
https://www.sqlbi.com/articles/rankx-on-multiple-columns-with-dax-and-power-bi/
Hope this was helpful.
Thanks,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
Proud to be a Super User!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 60 | |
| 45 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 110 | |
| 103 | |
| 40 | |
| 29 | |
| 29 |