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 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!
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 |
|---|---|
| 61 | |
| 48 | |
| 35 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 134 | |
| 110 | |
| 59 | |
| 39 | |
| 32 |