Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi Team,
I need to show rank based on a measure named [CF $B].
I am using a table visual and I pull fields into the table from 3 different dimension tables.
Below is the table visual where Fund name, Provider, Listed region columns are from different dimension tables. AUM and CF are the measures based on the Fact table.
I have used the below formula to derive the ranking
TF_Rank =
rankx(crossjoin(allselected('Fund'[Fund Name]),allselected('Provider'[Provider]),ALLSELECTED('Region'[Listed Region])),[CF $B])and I get the ranking as well from 1 onwards. But I need to show only top 10. Hence as soon as I apply filter to show only top 10 values, the ranking changes as below which was 1,2,3....10....so on... before
How do I get only the top 10 ranks using the above measure or do i need to apply any explicit filter condition.
Thanks.
Ani
Solved! Go to Solution.
Hi @Ani26 ,
You need to do a "merge" between the RANK and the TOPN.
Check this post https://www.sqlbi.com/articles/filtering-the-top-3-products-for-each-category-in-power-bi/
And check the alternative approach.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Ani26 ,
You need to do a "merge" between the RANK and the TOPN.
Check this post https://www.sqlbi.com/articles/filtering-the-top-3-products-for-each-category-in-power-bi/
And check the alternative approach.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsJoin us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 28 | |
| 27 | |
| 25 | |
| 22 | |
| 18 |
| User | Count |
|---|---|
| 52 | |
| 49 | |
| 43 | |
| 36 | |
| 36 |