Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
theopa
Frequent Visitor

matrix filter topn and etc

hi all

 

i want show on a matrix

filter with rank top10(value) and etc(remain values sum)

 

DAX

_021Cal_ =
IF(NOT(ISBLANK( SUM('Fct_Sales_Domestic'[sales]))),TOTALYTD(CALCULATE(sum(Fct_Sales_Domestic[sales])), D_Calendar_Sales[Date])/1000000,0)
3 REPLIES 3
miTutorials
Super User
Super User

Watch the below tutorial to display Top N and others in the Visual.

 

Display Top 3 Products and group others products in PowerBI using DAX | MiTutorials - YouTube

 

Regards

Ismail

 

amitchandak
Super User
Super User

@theopa , not very clear . But TOPN can be used like

 

FIrst Have measure

YTD= TOTALYTD(CALCULATE(sum(Fct_Sales_Domestic[sales])), D_Calendar_Sales[Date])

 

Top10= Calculate( [YTD], keepfilter(TOPN(10,allselected([Table[Date]), [YTD], asc) ))

 

refer

Learn Power BI: Dynamic TOPN using TOPN/Window and Numeric parameter: https://youtu.be/vm2mdEioQPQ

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

thank you for reply

 

i understand that topn topn

but i need is topn and others

if i set top3  than not only top3 values but also another values with etc in brand column

and other columns maybe sum other brands values😂

theopa_0-1701412541158.png

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.