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
I have below measure to rank customers by sales:
Hi @Anonymous ,
I think you can use the rankx function for comprehensive sorting, if you can, share your sample data to better solve the problem for you.RANKX function (DAX) - DAX | Microsoft Learn
Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Just to get an idea of where you are going with this. Could you not just add your Sales measure to the filter pane and advance filter by Top N? As per my example below. Seems quite complex for what you might be trying to achieve. Correct me if im wrong
Thank you
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 36 | |
| 28 | |
| 28 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |