Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!See when key Fabric features will launch and what’s already live, all in one place and always up to date. Explore the new Fabric roadmap
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!
User | Count |
---|---|
87 | |
74 | |
69 | |
58 | |
55 |
User | Count |
---|---|
40 | |
38 | |
34 | |
32 | |
30 |