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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
gladies123
Helper I
Helper I

Sort

Hi Team,

Kindly let me know the idea to sort the Top15 and Others . "Others" to displayed at the last i have attached an image for your reference

gladies123_1-1643718325818.png

 

Output should be displayed as below image

 

gladies123_2-1643718479512.png

Thanks,

gladis

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @gladies123,

I think you can try to add a calculated column to your table to rank and remark your records. You can add if statement on it to filter the rank if it is large than 15 and replace them as others. (rank <= 15, return 'original category name', rank > 15, return 'others')

If the above does not help, can you please share a pbix or some dummy data that keep raw data structure with expected results? they will help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @gladies123,

I think you can try to add a calculated column to your table to rank and remark your records. You can add if statement on it to filter the rank if it is large than 15 and replace them as others. (rank <= 15, return 'original category name', rank > 15, return 'others')

If the above does not help, can you please share a pbix or some dummy data that keep raw data structure with expected results? they will help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@gladies123 , For TOPN +others you can refer this

 - https://www.youtube.com/watch?v=UAnylK9bm1I

 

For other to be at bottom, you need create a sort order and mark that the sort column

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

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors