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
Hi there, I would like to rank a dataset based on multiple paramenters. From:
| Product | Salesperson | Sales |
| Product A | Alan | 10 |
| Product B | Bob | 20 |
| Product B | Alan | 22 |
| Product A | Charlie | 11 |
to
| Product | Salesperson | Sales | Rank |
| Product A | Alan | 10 | 1 |
| Product A | Charlie | 11 | 2 |
| Product B | Bob | 20 | 1 |
| Product B | Alan | 22 | 2 |
Any ideas how to do this? Tried looking at RankX but it seems to be only for 1 paramenter only. Thanks!
Solved! Go to Solution.
A most common question about sorting in ascending order
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
Please feel free to utilize either the "Rank" measure provided below or the "ThxAlot" measure, both of which yield accurate results.
A most common question about sorting in ascending order
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
Hi there,
when i tried your solution with sample data , my rank is all '1'. Could you kindly advise?
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 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 32 | |
| 19 | |
| 12 | |
| 10 |