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! It's time to submit your entry. Live now!
Hi,
I am trying to build a table that will only bring back the top 20 seller and another that brings back the bottom 20 sellers from a data set. I thought i had achieved this with using the TopN filter. However when data sets change the number of rows brought back is random and never sticks to the 20 mark that i want it to do. Can anyone point me in the right direction of what i am doing wrong.
Thanks,
Solved! Go to Solution.
Hi @Anonymous,
You could add 2 columns to the dataset. One using RANKX ascending and one using RANKX descending.
Then use the additonal columns to filter the visuals to only show ranks of 20 or less.
Hope this helps.
Thanks,
George
Hi @Anonymous,
You could add 2 columns to the dataset. One using RANKX ascending and one using RANKX descending.
Then use the additonal columns to filter the visuals to only show ranks of 20 or less.
Hope this helps.
Thanks,
George
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 131 | |
| 103 | |
| 58 | |
| 39 | |
| 31 |