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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
Currently I have this two metrics for having a top 10:
Rank:=RANKX(ALL('Table A'[column table A]),[metric])
Top 10 := IF(Rank] <= 10,[metric],IF(HASONEVALUE(Table A'[column table A]),IF(VALUES('Table A'[column table A]) = "Others",SUMX(FILTER(ALL(Table A'[column table A]),[Rank] > 10),[metric]))))
And it works well. But if I filter by another dimension I always get the same rank and consequently not having the top 10.
How can I make this work with another dimensions?
Thanks in advance.
You may try using ALLSELECTED Function.