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
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! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |