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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Rank Fans!
I know there have been similar questions posted, and I review those but still cannot solve for this issue.
I want to filter for Top 3 by two columns. In theis example, I want to return the Top 3 by Revenue per Property and Vendor. I want only the green values returned. I have tried multiple times using RankX, AllSelected and Calculate. The measure needs to be dynamic and reflect the Top 3 per Property and Vendor for the slicers slected by the user.
Thank you!
Solved! Go to Solution.
@Anonymous , You can create a rank measure like and filter that for 3 in visual lebel filter
Rankx(filter(allselected(Table[Prop], Table[Vador]), [Prop] = max([Prop])),[Revenue])
Assuming revenue is measure
refer
https://www.sqlbi.com/articles/filtering-the-top-3-products-for-each-category-in-power-bi/
@Anonymous , You can create a rank measure like and filter that for 3 in visual lebel filter
Rankx(filter(allselected(Table[Prop], Table[Vador]), [Prop] = max([Prop])),[Revenue])
Assuming revenue is measure
refer
https://www.sqlbi.com/articles/filtering-the-top-3-products-for-each-category-in-power-bi/
That worked! Thank you so much!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 61 | |
| 45 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 108 | |
| 107 | |
| 39 | |
| 30 | |
| 26 |