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
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
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.