Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi,
I have used rankx function to calculate the top customers by GM Impact. I need to show top 5 customers
As you see in this image 1 when no filter is selected from filter pane we can see all the ranks
But as I select top 5 using Rank_Gm measure then I can only see 4 records I need to see 5 records
The dax used for rankx is as follows
Hello @akshay2204 use TOP N in advanced filtering option. This will solve your problem.
Hi @akshay2204 ,
If the problem has not been resolved, would you like to provide the pbix without sensitive data, I can't reproduce the problem.
Best regards,
Community Support Team_yanjiang
Hi @akshay2204
Maybe your problem is that it is counting the total as one row (even if you have hidden it). Here is a possible solution: https://community.fabric.microsoft.com/t5/Desktop/RANKX-for-Top-5-Facilities-by-number-of-successes/...
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 64 | |
| 63 | |
| 49 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 122 | |
| 120 | |
| 38 | |
| 36 | |
| 29 |